summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Clean up memory allocated when reading messages in H5Dlayout on error (#2813)glennsong092023-04-302-4/+26
|
* Add bug note to H5Dget_space_status documentation (#2788) (#2837)jhendersonHDF2023-04-301-0/+14
|
* Add no subsets option to h5diff like h5dump (#2761)Allen Byrne2023-04-3016-269/+202
|
* Fix v1 object header gap bug in H5Ocopy (#2785) (#2834)jhendersonHDF2023-04-303-2/+83
|
* Add new version of COPYING_LBNL_HDF5. (#2773) (#2792)Larry Knox2023-04-221-48/+60
|
* Fixed GH-2603, heap-buffer-overflow in H5O__linfo_decode (#2758)bmribler2023-04-182-7/+32
| | | | Verified with valgrind -v --tool=memcheck --leak-check=full h5dump POV-GH-2603 The several invalid reads shown originally are now gone.
* Remove author and date from RELEASE.txt entries (#2753)Dana Robinson2023-04-161-6/+3
|
* Add buffer overrun checks to H5O__layout_decode and H5O__sdspace_decode ↵jhendersonHDF2023-04-154-54/+279
| | | | (#2679) (#2730)
* Fix a heap buffer overflow during H5D__compact_readvv (GitHub #2606) (#2664) ↵jhendersonHDF2023-04-152-0/+46
| | | | (#2727)
* H5O__pline_decode() Make more resilient to out-of-bounds read (#2210) (#2734)jhendersonHDF2023-04-153-2/+28
| | | | | | | | | Malformed hdf5 files may have trunkated content which does not match the expected size. When this function attempts to decode these it may read past the end of the allocated space leading to heap overflows as bounds checking is incomplete. Make sure each element is within bounds before reading. This fixes CVE-2019-8396 / HDFFV-10712 / github bug #2209.
* Fix for github issue #2599: (#2665) (#2736)vchoi-hdfgroup2023-04-142-3/+20
| | | | | | | | | | | | 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.
* Remove 1.10 release schedule (#2745)Dana Robinson2023-04-143-63/+0
| | | | | | There is no need to maintain the release schedule in each branch, so it's being removed from all branches aside from develop. Also removes the badges that don't pertain to 1.12
* Add Elena to CODEOWNERS for FortranDana Robinson2023-04-141-1/+1
|
* Fix memory leaks and aborts in H5O EFL decode (#2656) (#2708)Dana Robinson2023-04-131-48/+61
| | | | | | | | | | | | | | | | | | | | | * Convert asserts to error handling in efl decode The function that decodes external data files object header messages would call assert() when parsing malformed files, causing applications to crash when linked against the debug library. This change converts these assert() calls to HDF5 error checks, so the messages are sanity checked in both release and debug mode and debug mode no longer crashes applications. Also cleaned up some error handling usage and debug checks. * Free memory on H5O efl decode errors * Add buffer size checks to efl msg decode * Add parentheses to math expressions Fixes GitHub #2605
* [1.10 Merge] Avoid suppressing error output for non-tentative file opens ↵jhendersonHDF2023-04-081-20/+48
| | | | (#2632) (#2668)
* CMake - Match Autotools behavior for library instrumentation (#2648) (#2672)jhendersonHDF2023-04-082-2/+15
|
* Update HDF5 version after 1.10.10 release. (#2681)Larry Knox2023-04-0710-311/+1178
| | | | | | | | * Update HDF5 version after 1.10.10 release. Update so numbers to match 1.10.10 release so numbers. Update HISTORY-1_10.txt. Clean RELEASE.txt entries. * Missed one version change.
* Check CMake version for correct option (#2650)Allen Byrne2023-03-291-1/+5
|
* Revert the removal of HDF5GroupInfo class and deprecate. (#2636)Allen Byrne2023-03-275-0/+203
| | | | | | | | | * Revert the removal of HDF5GroupInfo class and deprecate. * revert H5_QUARTER_HADDR_MAX removal --------- Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* Undo revert 2615 (#2638)Larry Knox2023-03-2716-424/+206
| | | | | | * Revert "1 10 revert 2615 (#2629)" This reverts commit 43e4e64d886e9072a6075c6369e84c0e273fa44f.
* 1 10 revert 2615 (#2629)Larry Knox2023-03-2421-274/+602
| | | Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* Fix a memory corruption issue in H5S__point_project_simple (#2627)jhendersonHDF2023-03-242-1/+15
|
* Merge CMake cleanup process from develop (#2622)Allen Byrne2023-03-2385-1533/+2409
| | | | | * Merge CMake cleanup process from develop * Update test script files
* Remove getlogin work-arounds (#2620)Dana Robinson2023-03-234-22/+1
| | | Unused in the library
* Remove perf tool and standalone h5perf builds (#2619)Dana Robinson2023-03-2124-2439/+172
| | | | | | | | The small perf tool conflicts with the standard perf tool and is being removed from all HDF5 releases. Building h5perf in "standalone" mode (i.e., independently of the library) has been broken for some time, so the build code for that has also been removed.
* Add Option to not build gif tools and remove javadoc option (#2611)Allen Byrne2023-03-209-45/+58
| | | | | | | * Add Option to not build gif tools and remove javadoc option * Remove old option * Fix CMake command format
* Add missing items for hpc/scripts and release versions of extra (#2616)Allen Byrne2023-03-209-36/+67
| | | | | | | | | * Add missing items for hpc/scripts and release versions of extra * Update examples project version * Add VS2022 options to build scripts * And VS2022 added to windefs comment
* [1.10 Merge] Add Developer build mode to CMake (#2617)jhendersonHDF2023-03-2025-130/+427
| | | | | | | | | | | | | | | | | | | | | | * Add Developer build mode to CMake (#1659) * Add Developer build mode to CMake * Set a few CMake variables for Developer build modes * Refactor enabling of debug and developer-level compile definitions * Convert cache debugging macros to normal ifdef style Normal ifdef-style instead of if-style allows build system to define macros without warning about redefining macros with different values (0 vs. 1) * Add HDF5 Developer compile definitions to testing files * Temporarily disable -fanalyzer flag for GCC 12+ Developer builds * Fix Java tests for Developer build modes (#2079) * Minor adjustment of Developer build mode changes for 1.10 branch
* Normalize platform-independence code w/ develop (#2615)Dana Robinson2023-03-2019-587/+261
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Normalize platform-independence code w/ develop * Use C99 types and functions in lieu of C89 work-arounds * Align key files with develop - H5public.h - H5private.h - H5system.c - H5win32defs.h * Minor fixes elsewhere to support changes in above files * Incidentally brings Fortran mod directory settings file change over This does NOT change the configure/build files. Those will still do the checks needed for the C89 work-around cruft until the perf and perform code gets cleaned up. * Add C++98 fixes * Explicitly set -std=c++98 in Autotools * Do not include cstdlib in H5public.h (requires C++11) * Remove redundant stdbool.h include * Fix alarm issues on Windows * Bring parallel alarm() changes from develop
* Gather latest CMake changes from develop (#2609)Allen Byrne2023-03-2074-223/+224
| | | | Add HDF5_SRC_INCLUDE_DIRS variable cleanup cmake comments and documentation
* Remove version specific examples from README_HPC. (#2613)Larry Knox2023-03-201-14/+10
|
* Bring warning fixes from develop (#2608)Dana Robinson2023-03-2015-99/+170
|
* Bring mirror VFD test improvements from develop (#2597)Dana Robinson2023-03-204-1542/+1288
|
* Bring warning macro changes from develop (#2594)Dana Robinson2023-03-202-52/+100
|
* Unify cmake and cmake_ext_mod like develop (#2596)Dana Robinson2023-03-2054-858/+836
|
* Bring bin/ changes from develop (#2595)Dana Robinson2023-03-1916-477/+175
|
* Remove bin/mkdirs and bin/newer (#2593)Dana Robinson2023-03-194-78/+11
| | | As in develop
* Move Autotools VFD list to conclude.am (#2592)Dana Robinson2023-03-195-7/+33
| | | As in develop
* Remove unused H5MP and H5HP packages (#2591)Dana Robinson2023-03-1816-3728/+4
|
* Rename test scripts like develop (#2589)Dana Robinson2023-03-1816-107/+113
|
* Removes dmalloc support (#2239) (#2587)Dana Robinson2023-03-187-101/+14
| | | | | | | | | | This has not been used to debug the library in a very long time. Most developers use valgrind, -fsanitize=address, or some other memory checker instead of this library. This removes: * dmalloc.h include from H5private.h * --with-dmalloc= Autotools configure option * HDF5_ENABLE_USING_DMALLOC CMake option
* Bring 'default' API value over from develop (#2588)Dana Robinson2023-03-182-3/+5
|
* Align compiler flags with develop (#2586)Dana Robinson2023-03-1821-38/+157
| | | | | | Brings many compiler flag changes over from develop. Does NOT bring over -Werror changes. Also turns on Fortran silent rules, as in develop.
* Use new scheme in release_docs (#2585)Dana Robinson2023-03-184-14439/+127
| | | | | * Add README.md and NEWSLETTER.txt files * Remove HISTORY-1_8.txt * Rename HISTORY-1_0-1_8_0_rc3.txt to HISTORY-1_0-1_8_0.txt
* Allow parallel thread-safe builds (#2584)Dana Robinson2023-03-183-17/+9
| | | | | | | | * Allow parallel + thread-safe builds No longer require the "enable unsupported" option to build this configuration in CMake and the Autotools. * Add a release note for parallel thread-safety
* Minor merges to 1.10 (#2579)Larry Knox2023-03-188-10/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Merge minor configure.ac changes from develop (#2583)Dana Robinson2023-03-181-11/+8
| | | | | | * Comment & whitespace differences * Minor tweak to the "find szip" code * Yank a STDC_HEADERS block * Remove ST from the list of debug packages
* Merge MD cache tag slist --> hash table change (#2580)Dana Robinson2023-03-174-129/+89
| | | PR #1925 from develop
* Update cross compile checks and files #2497 (#2567)Allen Byrne2023-03-173-87/+174
|
* Change libaec URL to actively maintained repo GH#2552 (#2562)Allen Byrne2023-03-173-6/+6
|