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 Dereferencing bug in plugins/codecs/zfp/blosc2-zfp.c #521

Closed
rish9101 opened this issue Jun 20, 2023 · 0 comments
Closed

Null Pointer Dereferencing bug in plugins/codecs/zfp/blosc2-zfp.c #521

rish9101 opened this issue Jun 20, 2023 · 0 comments

Comments

@rish9101
Copy link

Describe the bug
Null Pointer Dereferencing at line 641 in plugins/codecs/zfp/blosc2-zfp.c. This is caused due to using a pointer to a chunk which does not exist. This bug is in function zfp_rate_decompress.

To Reproduce
Run the fuzzing harness in tests/fuzz fuzz_decompress_chunk with the attached input (in Zip File)
null-ptr-3.zip

Expected behavior
Check whether the chunk is a correct pointer at line 640.

Logs
If applicable, add logs to help explain your problem.

System information:

  • OS: Ubuntu 20.04
  • Compiler: clang-11
  • Version: Latest commit on main branch

Additional context
This bug has been found by fuzzing.

martaiborra added a commit that referenced this issue Jun 21, 2023
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