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 dereference in jsonsl #42

Open
yunho-kim opened this issue Sep 10, 2018 · 0 comments
Open

NULL pointer dereference in jsonsl #42

yunho-kim opened this issue Sep 10, 2018 · 0 comments

Comments

@yunho-kim
Copy link

Dear Mark Nunberg,
We have found a NULL pointer dereference issue in jsonsl.
The crash input is automatically generated by our test generation tool FOCAL.
You can find crash.json in crash.zip

Here are details to reproduce the NULL pointer dereference.

  • OS & Compiler
    Ubuntu Linux 16.04 x64 and GCC 5.4.0
  • Build command
    $ CFLAGS="-fsanitize=address" make clean check
  • Run command
    $ tests/json_test crash.json
  • Outputs
==== crash.json                               ====
ASAN:SIGSEGV
=================================================================
==27936==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x00000040172d bp 0x000000000000 sp 0x7ffcd3a85100 T0)
    #0 0x40172c  (/home/yhkim/jsonsl/tests/json_test+0x40172c)
    #1 0x7fe104b1a804  (/home/yhkim/jsonsl/libjsonsl.so+0x2804)
    #2 0x401c30  (/home/yhkim/jsonsl/tests/json_test+0x401c30)
    #3 0x4012f1  (/home/yhkim/jsonsl/tests/json_test+0x4012f1)
    #4 0x7fe10476e82f  (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)
    #5 0x4015c8  (/home/yhkim/jsonsl/tests/json_test+0x4015c8)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV ??:0 ??
==27936==ABORTING
Aborted
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

1 participant