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

Don't trigger UBSan warning in LZ4_resetStreamHC_fast if LZ4_streamHC… #964

Merged
merged 1 commit into from Jan 19, 2021

Conversation

sigiesec
Copy link
Contributor

@sigiesec sigiesec commented Jan 7, 2021

…Ptr->internal_donotuse.end is NULL.

Fixes #963

@sigiesec
Copy link
Contributor Author

@Cyan4973 Can this PR be merged? Or is there anything that needs to be changed?

@Cyan4973
Copy link
Member

The PR looks fine

@Cyan4973 Cyan4973 merged commit a8e8887 into lz4:dev Jan 19, 2021
@sigiesec sigiesec deleted the fix-ubsan-resetStreamHC_fast branch January 19, 2021 13:24
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.

LZ4_resetStreamHC_fast may trigger a UBSan warning
2 participants