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 negative seeking in the XZ compression handler. #280

Merged
merged 1 commit into from
Mar 2, 2022

Conversation

r4bbit-r4
Copy link

Unblob could do a negative seek in the case of certain samples when the XZ handler used a large real_backward_size value. I added a check to prevent this. Processing of the aforementioned samples works correctly with the fix.

Fix for #270

@qkaiser qkaiser linked an issue Mar 1, 2022 that may be closed by this pull request
@qkaiser qkaiser changed the title Fixewd negative seeking in the XZ compression handler. Fixed negative seeking in the XZ compression handler. Mar 1, 2022
@qkaiser qkaiser force-pushed the fix-xz-handler-negative-seeking branch from 0f263f7 to 50015df Compare March 2, 2022 14:47
@qkaiser qkaiser merged commit 4702e09 into main Mar 2, 2022
@qkaiser qkaiser deleted the fix-xz-handler-negative-seeking branch March 2, 2022 14:51
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.

negative seeking in XZ handler
2 participants