-
Notifications
You must be signed in to change notification settings - Fork 519
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Null parsing accepts bad input #357
Comments
Hello, I'm new to open-source contribution and I would like to help. Are you working on this? if not, can you please assign this to me? |
I’m not working on this, please feel free. |
@mtdowling thanks 👍 |
@mtdowling I'm new to open source and I would love to give it a try(even if it does not help). |
Hey, we are a team of 5 university students working on contributing to OSS projects. We would love to work on this issue if it is still unassigned. Thank you for your time. |
Various places in this library that parse null will see 'n' and then skip the next three characters without validating that the next three characters are 'u' 'l' 'l'. So this is parsed as null:
nope
.See for example https://github.com/json-iterator/java/blob/master/src/main/java/com/jsoniter/IterImplObject.java#L10-L12
Edit: also note that this same issue is present for
true
andfalse
.The text was updated successfully, but these errors were encountered: