Skip to content
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 pointer 3 #9

Closed
marcstern opened this issue Aug 11, 2023 · 2 comments
Closed

Null pointer 3 #9

marcstern opened this issue Aug 11, 2023 · 2 comments

Comments

@marcstern
Copy link

in yajl_tree.c, on line 299, we use ctx->stack->value->type but, at this location, ctx->stack->value may be NULL

@robohack
Copy link
Owner

Good catch! I'll see if I can make it safe.

@robohack
Copy link
Owner

In the end I don't think it is ever possible for value to ever be NULL in a valid stack object. I'll add some tests and asserts to make sure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants