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

1.10 Fixes a bad memory read and unfreed memory in fsinfo code (#893) #1013

Merged
merged 2 commits into from
Sep 15, 2021
Merged

1.10 Fixes a bad memory read and unfreed memory in fsinfo code (#893) #1013

merged 2 commits into from
Sep 15, 2021

Conversation

lrknox
Copy link
Collaborator

@lrknox lrknox commented Sep 15, 2021

  • Fixes a bad memory read and unfreed memory in fsinfo code

The segfault from CVE-2020-10810 was fixed some time ago, but the
illegal memory read and unfreed memory were not.

This fix tracks some buffer sizes and errors out gracefully on errors,
ensuring buffers are cleaned up and avoiding the H5FL infinite loop +
abort on library close.

  • Committing clang-format changes

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>

derobins and others added 2 commits September 15, 2021 09:56
* Fixes a bad memory read and unfreed memory in fsinfo code

The segfault from CVE-2020-10810 was fixed some time ago, but the
illegal memory read and unfreed memory were not.

This fix tracks some buffer sizes and errors out gracefully on errors,
ensuring buffers are cleaned up and avoiding the H5FL infinite loop +
abort on library close.

* Committing clang-format changes

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
@lrknox lrknox merged commit 4bf757e into HDFGroup:hdf5_1_10 Sep 15, 2021
@lrknox lrknox deleted the 1_10_cve_2020_10810 branch September 16, 2021 15:38
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.

3 participants