-
-
Notifications
You must be signed in to change notification settings - Fork 311
Fix CVE-2025-2153 #5795
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
Merged
Merged
Fix CVE-2025-2153 #5795
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
4be883f
Add release text
0ed7ab1
Merge branch 'develop' into issue5329
lrknox a7ea70f
Add change to release note
fe9daa0
Merge branch 'issue5329' of https://github.com/glennsong09/hdf5 into …
1bd996b
Move fix to H5O__chunk_deserialize
635f534
Committing clang-format changes
github-actions[bot] f16ccea
Fix merge conflict in release_archive.txt
70ea745
Fix merge conflict
4f76ac0
Add change to release note
6e41069
Move fix to H5O__chunk_deserialize
8b2b82e
Fix release_docs
1a6214c
Remove duplicate entry
5c502e4
Add github issue number to changelog entry
e4906f7
Committing clang-format changes
github-actions[bot] 2b39e46
Make small changes for Neil
b3fe959
Remove trailing whitespace
6b4f002
Fix typo
eaa1ee6
Add back line
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -354,6 +354,9 @@ H5O__msg_write_real(H5F_t *f, H5O_t *oh, const H5O_msg_class_t *type, unsigned m | |
| */ | ||
| assert(!(mesg_flags & H5O_MSG_FLAG_DONTSHARE)); | ||
|
|
||
| /* Sanity check to see if the type is not sharable */ | ||
| assert(type->share_flags & H5O_SHARE_IS_SHARABLE); | ||
|
|
||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Would it also be worth switching the assert statements above into real error checks? |
||
| /* Remove the old message from the SOHM index */ | ||
| /* (It would be more efficient to try to share the message first, then | ||
| * delete it (avoiding thrashing the index in the case the ref. | ||
|
|
||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't mean to delete the line, just the blank spaces in it