diff options
author | Larry Knox <lrknox@hdfgroup.org> | 2021-09-15 19:17:00 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-15 19:17:00 (GMT) |
commit | ff6ad09d309f5053a54069ecaaca96fc69b65b49 (patch) | |
tree | 4e3cd870b2d550e10cd3ead05af8978cebde6a51 /bin/chkmanifest | |
parent | 26dc46b13a150ab58431ccd9924f7b378a62a534 (diff) | |
download | hdf5-ff6ad09d309f5053a54069ecaaca96fc69b65b49.zip hdf5-ff6ad09d309f5053a54069ecaaca96fc69b65b49.tar.gz hdf5-ff6ad09d309f5053a54069ecaaca96fc69b65b49.tar.bz2 |
Fixes a bad memory read and unfreed memory in fsinfo code (#893) (#1012)
* Fixes a bad memory read and unfreed memory in fsinfo code
The segfaul 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>
Co-authored-by: Dana Robinson <43805+derobins@users.noreply.github.com>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Diffstat (limited to 'bin/chkmanifest')
0 files changed, 0 insertions, 0 deletions