Project

General

Profile

« Previous | Next » 

Revision a15d0e26

Added by Andrew Bromwich over 3 years ago

[flori/json] Fix parser bug for empty string allocation

When HAVE_RB_ENC_INTERNED_STR is enabled it is possible to
pass through a null pointer to rb_enc_interned_str resulting
in a segfault

Fixes #495

https://github.com/flori/json/commit/b59368a8c2