diff options
author | Nicolas Williams <nico@cryptonector.com> | 2014-12-30 01:33:45 -0600 |
---|---|---|
committer | Nicolas Williams <nico@cryptonector.com> | 2014-12-30 01:35:22 -0600 |
commit | 6981b463384525dd2b95d1a90fc4ef7c7bd026c5 (patch) | |
tree | a00462d3a4ae40d8b3cf4d6be1f77378ecd22b05 /jv_parse.c | |
parent | 752e00bc66af544a6277e55ae94bfbe5b0084d7a (diff) |
Fix streaming bug (fuzzing)
Diffstat (limited to 'jv_parse.c')
-rw-r--r-- | jv_parse.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -90,6 +90,7 @@ static void parser_reset(struct jv_parser* p) { if ((p->flags & JV_PARSE_STREAMING)) { jv_free(p->path); p->path = jv_array(); + p->stacklen = 0; } p->last_seen = JV_LAST_NONE; jv_free(p->output); |