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

Clam 1648 Fix benign heap over-read when loading some LDB signatures using byte-compare feature #583

Merged
merged 1 commit into from May 28, 2022

Conversation

ragusaa
Copy link
Contributor

@ragusaa ragusaa commented May 13, 2022

Previously 2 was hardcoded as as upper bound for loop in
cli_bcomp_freemeta. Change to comp_count to avoid going
past the end.

Fixes: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=43816

Previously 2 was hardcoded as as upper bound for loop in
cli_bcomp_freemeta.  Change to comp_count to avoid going
past the end.
@micahsnyder
Copy link
Contributor

Rebased this because it was failing the fuzz regression test from the latest fuzz fix, and wasn't completing the entire pipeline.

@micahsnyder micahsnyder changed the title Use correct comp_count Clam 1648 Fix heap over-read when loading some LDB signatures using byte-compare feature May 28, 2022
@micahsnyder micahsnyder changed the title Clam 1648 Fix heap over-read when loading some LDB signatures using byte-compare feature Clam 1648 Fix benign heap over-read when loading some LDB signatures using byte-compare feature May 28, 2022
@micahsnyder
Copy link
Contributor

Testing all looks good here. I got a bit hung up on debugging a failure in the private fuzz corpus until I realized a PoC landed there before a fix, and that it didn't mean this was introducing a new bug or anything 😅. All good. Will merge.

@micahsnyder micahsnyder merged commit d6d7f18 into Cisco-Talos:main May 28, 2022
22 of 24 checks passed
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