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

Fix dereferencing of end iterator in PPMQ decompressor #77

Merged
merged 1 commit into from
Jul 15, 2024

Conversation

sagamusix
Copy link
Collaborator

Incorrect usage of std::list::erase could lead to a crash in the PPMQ decompressor when trying to delete the last item in a list. Issue found with afl++, test case to reproduce:
id%253A000151,sig%253A06,src%253A004458,time%253A12244939684,execs%253A3330820005,op%253Ahavoc,rep%253A1.zip

@temisu temisu merged commit 9929dc4 into temisu:master Jul 15, 2024
8 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.

2 participants