diff options
author | Florian Frank <flori@ping.de> | 2013-02-04 23:28:30 +0100 |
---|---|---|
committer | Florian Frank <flori@ping.de> | 2013-02-10 18:28:05 +0100 |
commit | 3ce359bbf308354b86e94248fc13dfd4b23c792e (patch) | |
tree | 296aebe8360d331cb47c1806a72cc420adc2a972 /ext/json/ext/parser/parser.c | |
parent | 93b31b8b588461901ed5ae0dc4e961ea3adbc55e (diff) | |
download | json-fix-additions-problem-v1.6.8.tar.gz |
Security fix for create_additions problem 1.6.8v1.6.8fix-additions-problem-v1.6.8
Diffstat (limited to 'ext/json/ext/parser/parser.c')
-rw-r--r-- | ext/json/ext/parser/parser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/json/ext/parser/parser.c b/ext/json/ext/parser/parser.c index c140fdb..cbd8b93 100644 --- a/ext/json/ext/parser/parser.c +++ b/ext/json/ext/parser/parser.c @@ -1680,7 +1680,7 @@ static VALUE cParser_initialize(int argc, VALUE *argv, VALUE self) if (option_given_p(opts, tmp)) { json->create_additions = RTEST(rb_hash_aref(opts, tmp)); } else { - json->create_additions = 1; + json->create_additions = 0; } tmp = ID2SYM(i_create_id); if (option_given_p(opts, tmp)) { |