-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Parse nan in JSON as NaN instead of triggering a parse error #2712
Conversation
I wrote a test that uses |
jv_array_get() used to be responsible of freeing the input array, but since b5c4c3d, it is no longer called if the key is nan. We need to free it manually to avoid leaking the array.
Hmm, actually this was unrelated to my patch and the use of I am not sure why the CI didn't catch it. Does the CI run tests without |
Yes, CI configures with |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I would make one workflow not do that. Not all of them, because there's no need to waste that much build capacity. |
@nicowilliams Makes sense; also only the |
Hmm, afaict |
Fixes #2021