Skip to content

Conversation

@kevinjzhang
Copy link
Contributor

Summary: Fix fuzzer by returning an ZL_Error when reading an invalid contextDepth. This is propagated to the codec which then throws. The alternative is to introduce some error propogation to https://www.internalfb.com/code/fbsource/[239d0d8fa230]/fbcode/openzl/dev/src/openzl/shared/hash.h?lines=117.

Differential Revision: D92572732

@meta-codesync
Copy link

meta-codesync bot commented Feb 6, 2026

@kevinjzhang has exported this pull request. If you are a Meta employee, you can view the originating Diff in D92572732.

@meta-cla meta-cla bot added the cla signed label Feb 6, 2026
kevinjzhang added a commit to kevinjzhang/openzl-1 that referenced this pull request Feb 9, 2026
…ebook#378)

Summary:

Fix fuzzer by returning an `ZL_Error` when reading an invalid contextDepth. This is propagated to the codec which then throws. The alternative is to introduce some error propogation to https://www.internalfb.com/code/fbsource/[239d0d8fa230]/fbcode/openzl/dev/src/openzl/shared/hash.h?lines=117.

Also fix a second similar issue for `contextLog` which is only valid for values > 0.

Fixes for both dev and prod branches.

Differential Revision: D92572732
…ebook#378)

Summary:

Fix fuzzer by returning an `ZL_Error` when reading an invalid contextDepth. This is propagated to the codec which then throws. The alternative is to introduce some error propogation to https://www.internalfb.com/code/fbsource/[239d0d8fa230]/fbcode/openzl/dev/src/openzl/shared/hash.h?lines=117.

Also fix a second similar issue for `contextLog` which is only valid for values > 0.

Fixes for both dev and prod branches.

Differential Revision: D92572732
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant