Replies: 3 comments
-
Indeed, just curious, this seems to be an error condition, so what input did you have to trigger this problem - in summary? |
Beta Was this translation helpful? Give feedback.
0 replies
-
I'm guessing you were parsing into a fixed length string in a struct, and the string was too short? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Fix in 27a63fb on master. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I got a segmentation fault, file json_parser.c
line 882: memset(s, 0, n - k);
Indeed, k has already been substracted from n few lines before, so:
line 882: memset(s, 0, n);
seems better for me.
Beta Was this translation helpful? Give feedback.
All reactions