Files
hdf5/test
bmribler 9268b803b7 Fixes buffer underflow (#6143)
Fixes security issue by treating non-NULL buffer with size 0 as length-only query in get_name API functions.

Behavior:
Modify get_name API functions to treat (buffer != NULL, size == 0) as length-only queries, preventing undefined behavior.
Fix applied to H5Aget_name, H5Aget_name_by_idx, H5Fget_name, H5Gget_objname_by_idx, H5Iget_name, H5Lget_name_by_idx, H5Rget_file_name, H5Rget_obj_name, H5Rget_attr_name, and 8 other functions.
Tests:
Update test/links.c, test/tattr.c, test/tfile.c, test/titerate.c, and test/trefer.c to verify new behavior with non-null buffer and size 0.
Documentation:
Update comments in H5A.c, H5F.c, H5Gdeprec.c, H5I.c, H5L.c, H5R.c, and H5Rdeprec.c to reflect new behavior.t]@users.noreply.github.com>
2026-01-26 18:07:23 -06:00
..
2024-10-18 21:13:04 -07:00
2022-03-31 10:42:30 -05:00
2024-10-18 21:13:04 -07:00
2025-06-17 11:11:13 -05:00
2024-10-18 21:13:04 -07:00
2024-10-18 21:13:04 -07:00
2025-06-17 11:11:13 -05:00
2024-10-18 21:13:04 -07:00
2025-05-23 11:46:40 -05:00
2024-10-18 21:13:04 -07:00
2025-05-23 11:46:40 -05:00
2024-10-18 21:13:04 -07:00
2024-10-18 21:13:04 -07:00
2024-10-18 21:13:04 -07:00
2024-10-18 21:13:04 -07:00
2024-10-18 21:13:04 -07:00
2024-10-18 21:13:04 -07:00
2024-10-18 21:13:04 -07:00
2024-10-18 21:13:04 -07:00
2024-10-18 21:13:04 -07:00
2024-10-18 21:13:04 -07:00
2024-10-18 21:13:04 -07:00
2026-01-26 18:07:23 -06:00
2024-10-18 21:13:04 -07:00
2025-01-21 17:36:27 -06:00
2024-10-18 21:13:04 -07:00
2024-10-18 21:13:04 -07:00
2025-05-23 11:46:40 -05:00
2025-05-23 11:46:40 -05:00
2024-10-18 21:13:04 -07:00
2024-10-18 21:13:04 -07:00
2026-01-26 18:07:23 -06:00
2024-10-18 21:13:04 -07:00
2024-10-18 21:13:04 -07:00
2026-01-26 18:07:23 -06:00
2024-10-18 21:13:04 -07:00
2026-01-26 18:07:23 -06:00
2026-01-26 18:07:23 -06:00
2024-10-18 21:13:04 -07:00
2024-10-18 21:13:04 -07:00
2024-10-18 21:13:04 -07:00
2024-10-18 21:13:04 -07:00
2024-10-18 21:13:04 -07:00