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

Remove possible NULL pointer addition #2916

Merged
merged 1 commit into from
Dec 8, 2021
Merged

Conversation

terrelln
Copy link
Contributor

@terrelln terrelln commented Dec 8, 2021

Refactor ZSTDMT_isOverlapped() to do NULL checks before computing the
end pointer.

Fixes #2906.

Refactor `ZSTDMT_isOverlapped()` to do NULL checks before computing the
end pointer.

Fixes facebook#2906.
@terrelln terrelln merged commit 8b40095 into facebook:dev Dec 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The "rangeStart" here may be "NULL", but the code is judged after use
3 participants