Commit Graph

22726 Commits

Author SHA1 Message Date
jhendersonHDF
6f70a56098
Add bug note to H5Dget_space_status documentation (#2788) 2023-04-23 13:08:44 -07:00
H. Joe Lee
ea7dfcdf80
Change Powershell to PowerShell in docs (#2794) 2023-04-23 13:07:50 -07:00
Scot Breitenfeld
def21b1e33
Added Fortran Async APIs (#2715)
H5A, H5D, H5ES, H5G, H5F, H5L and H5O async APIs were added.
2023-04-21 11:07:48 -05:00
Dana Robinson
07c4360b4d
Sanitize the attribute object header msg code (#2749)
Adds:
* Bounds checks on buffer access
* Better memory cleanup
2023-04-19 08:21:25 -07:00
Dana Robinson
d58ff66006
Sanitize the H5Oname decode function (#2757)
* Add bounds checking
* Add memory cleanup
2023-04-19 08:20:46 -07:00
Dana Robinson
461e3d8afa
Sanitize the ohdr modification time decode fxns (#2762) 2023-04-18 14:23:34 -07:00
Larry Knox
8d451d97f2
Add new version of COPYING_LBNL_HDF5. (#2773) 2023-04-18 13:06:24 -07:00
Dana Robinson
26250fc333
Clean up H5Oefl decode function (#2755)
* Use the H5_IS_BUFFER_OVERFLOW macro
* Attempt to close local heap on errors if left open
2023-04-18 11:35:56 -07:00
Allen Byrne
445fcab52f
Add no subsets option to h5diff like h5dump #2688 (#2756) 2023-04-18 11:21:18 -07:00
raylu-hdf
6e516abc29
Jira issue OESS-337: Create test for H5VLconnector_info_to_str (#2334)
* Jira issue OESS-337: Adding a test case for H5VLconnector_info_to_str, H5VLconnector_str_to_info, and H5VLconnector_free_info.  The test may need to change after the possible changes of the parameters of the API functions.
2023-04-18 10:19:45 -05:00
Dana Robinson
5d21a59c4e
Removes programmer/date lines from src headers (#2747) 2023-04-17 19:10:44 -07:00
jhendersonHDF
584243bc47
Update concurrency group for main CI workflow (#2768)
Updates main CI workflow concurrency group so that the group should be a unique string formed as "workflow file-commit" or "workflow file-PR number". This should only cancel actions for a PR if the same PR is committed to while the actions are running.
2023-04-17 14:02:39 -07:00
jhendersonHDF
413a1e5908
Check for invalid AAPL in H5Aopen (#2712) 2023-04-17 13:22:12 -07:00
Dana Robinson
ad808ec66a
Remove more author/date lines from RELEASE.txt (#2767) 2023-04-17 09:14:09 -07:00
Dana Robinson
cba64e16f7
Sanitize B-tree k ohdr message decode call (#2754)
* Check buffer bounds
* Clean up memory on errors
2023-04-16 18:58:47 -07:00
jhendersonHDF
41b61bfe53
Update hdfeos5 workflow concurrency group (#2766)
Changes concurrency group for hdfeos5 workflow so that it is separate from the concurrency group for the CI workflow
2023-04-16 18:37:06 -07:00
Dana Robinson
6713075fbc
Sanitize the attribute info message decode fxn (#2748)
Adds bounds checking on the buffer in the attribute info message's
decode function (H5O__ainfo_decode).
2023-04-16 18:01:33 -07:00
Dave Allured
dcd9219788
H5Spoint.c: Fix mistake in comment (#2750) 2023-04-16 13:07:02 -07:00
Dana Robinson
d5b9d52344
Remove dates and initials from RELEASE.txt entries (#2746) 2023-04-16 09:09:41 -07:00
Dana Robinson
afc2281bbf
Run parallel clang-format tasks (#2740)
Adds xargs arguments to enable running clang-format in parallel
2023-04-14 18:14:50 -07:00
Dana Robinson
f9c16de8a7
Fix memory leaks when processing OH cont messages (#2723)
Malformed object header continuation messages can result in a too-small
buffer being passed to the decode function, which could lead to reading
past the end of the buffer. Additionally, errors in processing these
malformed messages can lead to allocated memory not being cleaned up.

This fix adds bounds checking and cleanup code to the object header
continuation message processing.

Fixes #2604
2023-04-14 15:17:24 -07:00
Dana Robinson
88257af73d
Add Elena to the list of Fortran developers in CODEOWNERS (#2741) 2023-04-14 12:00:03 -07:00
Quincey Koziol
65ee20ac64
Cache macro parameter name consistency (#2738)
* More cache macro parameter consistency
2023-04-14 09:40:50 -07:00
Quincey Koziol
9de27b3591
Cache macro error consistency (#2739)
* Pass failure value consistently to all macro errors
2023-04-14 09:10:32 -07:00
Quincey Koziol
2ad5a25243
Move cache image macros (#2732)
* Move cache image stats macros to cache image source file

* Disable formatting on the macros
2023-04-14 05:55:06 -07:00
Quincey Koziol
2cb733ff1b
Cache macro tidy (#2731)
* Make cache macro parameter names more consistent
2023-04-14 05:54:00 -07:00
Kobrin Eli
10d4a6d094
Fix out of bounds in hdf5/src/H5Fint.c:2859 (#2691) 2023-04-13 14:37:10 -07:00
bmribler
65eff22348
Fixed GH-2603, heap-buffer-overflow in H5O__linfo_decode (#2697)
* Fixed GH-2603, heap-buffer-overflow in H5O__linfo_decode

Verified with valgrind -v --tool=memcheck --leak-check=full h5dump POV-GH-2603
The several invalid reads shown originally are now gone.
2023-04-13 14:35:45 -07:00
Dana Robinson
d6243791d4
Add a RELEASE.txt note for GH #2605 (#2724) 2023-04-13 14:34:50 -07:00
Quincey Koziol
4fa108dbbf
Remove unused macros (#2722)
* Remove unused macros
2023-04-13 13:33:06 -07:00
Allen Byrne
1c03b7d687
Fix java depends and pdb lib install (#2720)
* Fix java depends and pdb lib install

* Correct end of for loop depends

* fix location of set last_test
2023-04-13 12:11:35 -07:00
Quincey Koziol
18b8534174
Remove dead code for H5C__SLIST_OPT_ENABLED (#2721)
* Remove dead code for H5C__SLIST_OPT_ENABLED
2023-04-13 12:10:48 -07:00
Quincey Koziol
6e90b1fdb6
Refactor H5C_entry_in_skip_list (#2719)
* Refactor H5C__entry_in_skip_list to package scope
2023-04-13 11:25:50 -07:00
Allen Byrne
2ecfba97dd
Identify some options as advanced (#2717)
* Identify some options as advanced

Add explicit option statement to set default for CMake option

* Revert advanced setting for file locks
2023-04-13 10:36:48 -07:00
Dana Robinson
526d0d70e6
Update HDF-EOS5 workflow to mirror main.yml (#2710)
Adds paths to ignore, concurrency, etc.
2023-04-13 09:04:51 -07:00
Quincey Koziol
a55e31473d
Fix cache validate (#2718) 2023-04-13 09:01:14 -07:00
Quincey Koziol
85cdbfa02b
Refactor cache mark flush dep (#2711) 2023-04-12 22:19:46 -07:00
Quincey Koziol
e9a010aefa
Refactor cache validation (#2699)
* Correct concurrency bugs when running tests, along with a bugfix & small
warning cleanup.

* Committing clang-format changes

* Allow spaces (and tabs) in VOL connector info string from environment variable.

* Parse connector name from HDF5_PLUGIN_PATH environment variable better

* Correct H5VLquery_optional to use H5VL routine instead of H5I.  Also add an
error message to the failure return value from not finding a plugin.

* Play nice with existing plugin paths

* Use API routine to determine if native connector is terminal.

* Committing clang-format changes

* Make string size larger, to allow for connectors with longer names.

* Be more flexible about testing external pass through connectors, especially if
they have registered new optional operations.

* Make cache validation routines package local

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: AWS ParallelCluster user <ec2-user@ip-10-0-0-65.us-east-2.compute.internal>
Co-authored-by: Koziol <qkoziol@88665a374c70.ant.amazon.com>
2023-04-12 17:25:46 -07:00
jhendersonHDF
d67d709a3a
Remove duplicated H5_IS_BUFFER_OVERFLOW macro (#2700) 2023-04-12 12:56:51 -07:00
Allen Byrne
e94071fe53
Change name of test file to avoid conflict (#2701) 2023-04-12 12:50:46 -07:00
Dana Robinson
7b46484292
Revert "Added tables of CVE issues (#2685)" (#2696)
This reverts commit b749a4ef09.
2023-04-11 21:23:52 -07:00
bmribler
b749a4ef09
Added tables of CVE issues (#2685) 2023-04-11 23:08:27 -05:00
vchoi-hdfgroup
67d4b5eaf8
Fix for github issue #2599: (#2665)
* Fix for github issue #2599:
As indicated in the description, memory leak is detected when running "./h5dump pov".

The problem is: when calling H5O__add_cont_msg() from H5O__chunk_deserialize(),
memory is allocated for cont_msg_info->msgs.  Eventually, when the library tries to load
the continuation message via H5AC_protect() in H5O_protect(), error is
encountered due to illegal info in the continuation message.
Due to the error, H5O_protect() exits but the memory allocated for cont_msg_info->msgs is not freed.

When we figure out how to handle fuzzed files that we didn't generate,
a test needs to be added to run h5dump with the provided "pov" file.

* Add message to release notes for the fix to github issue #2599.
2023-04-11 23:06:29 -05:00
Dana Robinson
d1727fe8f3
Use additional CPUs in GitHub actions (#2695)
* Build: 3 CPUs
* Tests: 2 CPUs

For both Autotools and CMake
2023-04-11 20:58:39 -07:00
Quincey Koziol
82b7221208
Cache tidy (#2693)
* Correct concurrency bugs when running tests, along with a bugfix & small
warning cleanup.

* Committing clang-format changes

* Allow spaces (and tabs) in VOL connector info string from environment variable.

* Parse connector name from HDF5_PLUGIN_PATH environment variable better

* Correct H5VLquery_optional to use H5VL routine instead of H5I.  Also add an
error message to the failure return value from not finding a plugin.

* Play nice with existing plugin paths

* Use API routine to determine if native connector is terminal.

* Committing clang-format changes

* Make string size larger, to allow for connectors with longer names.

* Be more flexible about testing external pass through connectors, especially if
they have registered new optional operations.

* Bring style closer to library's agreed coding style

* Committing clang-format changes

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: AWS ParallelCluster user <ec2-user@ip-10-0-0-65.us-east-2.compute.internal>
Co-authored-by: Koziol <qkoziol@88665a374c70.ant.amazon.com>
2023-04-11 20:57:47 -07:00
glennsong09
367e4a3933
Clean up memory allocated when reading messages in H5Dlayout on error (#2602) (#2687) 2023-04-11 16:09:05 -05:00
mattjala
2eedc8e8f7
Fix invalid memory access in H5O__ginfo_decode (#2663) 2023-04-11 15:22:11 -05:00
jhendersonHDF
bc8fa3a477
Add buffer overrun checks to H5O__layout_decode and H5O__sdspace_decode (#2679)
Co-authored-by: Larry Knox <lrknox@hdfgroup.org>
2023-04-11 14:47:51 -05:00
Scot Breitenfeld
2e7d8f7ed5
Perlmutter was fixed (#2677) 2023-04-11 14:41:06 -05:00
jhendersonHDF
b77cb393b8
Fix improper include of build directory (#2422, #2621) (#2667) 2023-04-11 14:31:25 -05:00