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

Elaborate how cd_values get stored #2522

Merged
merged 2 commits into from
Mar 8, 2023
Merged

Conversation

markcmiller86
Copy link
Contributor

Just a minor adjustment to documentation to elaborate how filter cd_values wind up getting possibly modified before they are stored as part of a data object header.

@byrnHDF byrnHDF added Merge - To 1.12 Merge - To 1.14 This needs to be merged to HDF5 1.14 Priority - 1. High 🔼 These are important issues that should be resolved in the next release Component - Documentation Doxygen, markdown, etc. Type - Improvement Improvements that don't add a new feature or functionality labels Mar 8, 2023
@lrknox lrknox merged commit befbbd0 into HDFGroup:develop Mar 8, 2023
@markcmiller86 markcmiller86 deleted the patch-1 branch March 8, 2023 22:57
lrknox pushed a commit to lrknox/hdf5 that referenced this pull request Mar 16, 2023
lrknox pushed a commit to lrknox/hdf5 that referenced this pull request Mar 17, 2023
lrknox pushed a commit to lrknox/hdf5 that referenced this pull request Mar 17, 2023
derobins added a commit that referenced this pull request Mar 18, 2023
* Elaborate how cd_values get stored (#2522)

* Enclose MESG in do...while loop (#2576)

Enclose MSG macro in a do...while loop

* Add a clang-format comment about permissions (#2577)

* Check for overflow when calculating on-disk attribute data size (#2459)

* Remove duplicate code

Signed-off-by: Egbert Eich <eich@suse.com>

* Add test case for CVE-2021-37501

Bogus sizes in this test case causes the on-disk data size
calculation in H5O__attr_decode() to overflow so that the
calculated size becomes 0. This causes the read to overflow
and h5dump to segfault.
This test case was crafted, the test file was not directly
generated by HDF5.
Test case from:
https://github.com/ST4RF4LL/Something_Found/blob/main/HDF5_v1.13.0_h5dump_heap_overflow.md

---------

Co-authored-by: Mark (he/his) C. Miller <miller86@llnl.gov>
Co-authored-by: glennsong09 <43005495+glennsong09@users.noreply.github.com>
Co-authored-by: Dana Robinson <43805+derobins@users.noreply.github.com>
Co-authored-by: Egbert Eich <eich@suse.com>
brtnfld pushed a commit to brtnfld/hdf5 that referenced this pull request May 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component - Documentation Doxygen, markdown, etc. Merge - To 1.14 This needs to be merged to HDF5 1.14 Priority - 1. High 🔼 These are important issues that should be resolved in the next release Type - Improvement Improvements that don't add a new feature or functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants