-
Notifications
You must be signed in to change notification settings - Fork 723
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 1651 #2: Fix leak loading malformed PDB database #532
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like this was changed (slightly differently) in https://github.com/Cisco-Talos/clamav/pull/530/files#diff-c2d7ebcb1295f163964c14d878838c83e69061189c318f01909d34dd5a383a98L427-L466
This version:
- isn't clang-formatted
- doesn't use the VERIFY_POINTER macros
- does have better error handling for the
parse_regex()
call.
How do you want to proceed? Do you want to merge these two PR's? Do you want to take the improvements from this one and put them in #530? Or?
fb4b395
to
06d1c39
Compare
The updates to PR-530 appear to have removed the merge conflicts, because when I did a 'git pull', there was nothing to merge. I clang-formatted, so I am ready for re-review. |
06d1c39
to
b9519c1
Compare
1efecfd
to
3b91926
Compare
Everything checks out. This was a little difficult to verify because the 2 PoC's for this were mixed in with 4 PoC's for related issues. But manual testing confirmed all is well with this PR. |
This addresses the pdb memory leaks in the ticket. Will do separate PRs for other issues that are not in the same files.
Fixes: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=43849
Fixes: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=44115