Issue from the past that still looks unresolved #182
ayavilevich
started this conversation in
General
Replies: 1 comment 4 replies
-
I think that this problem is 5 years old, and if it still exists, you first need to come with a MRE to reproduce it even before thinking of a fix. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I see that the library is in more active development lately. Thumbs up!
I used the library previously and there was this bug in the json deserialization step where it treated the pointer to the body buffer as a null terminated string. See me-no-dev#807
Normally it isn't an issue because the parsing will end before out of bounds when it gets the closing } . However, if the buffer is not a valid json then it will try to continue parsing out of bounds and can lead to a crash or unexpected behavior.
I had a patch for this as specified in issue 807. You basically pass the size of the data as an optional parameter.
Maybe now is a time to revisit this issue and address it in the repository? I think the problematic code is still there. wdyt?
Beta Was this translation helpful? Give feedback.
All reactions