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

Fixed UBSAN null-dereference WRITE in frame_get_usermeta #179

Merged
merged 1 commit into from Jan 2, 2021

Conversation

nmoinvaz
Copy link
Member

@nmoinvaz nmoinvaz commented Jan 1, 2021

usermeta_len is less than zero.

    frame_get_usermeta c-blosc2/blosc/frame.c:954:5
    blosc2_frame_to_schunk c-blosc2/blosc/frame.c:1267:18
    blosc2_schunk_open_sframe c-blosc2/blosc/schunk.c:263:27
    LLVMFuzzerTestOneInput c-blosc2/tests/fuzz/fuzz_decompress_frame.c:23:27

https://oss-fuzz.com/testcase-detail/5126682469728256

…a_len is less than zero.

    frame_get_usermeta c-blosc2/blosc/frame.c:954:5
    blosc2_frame_to_schunk c-blosc2/blosc/frame.c:1267:18
    blosc2_schunk_open_sframe c-blosc2/blosc/schunk.c:263:27
    LLVMFuzzerTestOneInput c-blosc2/tests/fuzz/fuzz_decompress_frame.c:23:27
@FrancescAlted
Copy link
Member

LGTM

@FrancescAlted FrancescAlted merged commit 9cba9d2 into Blosc:master Jan 2, 2021
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

Successfully merging this pull request may close these issues.

None yet

2 participants