Files
hdf5/java
Scot Breitenfeld 83efea157c fix(java/ffm): fix H5Pget_filter2 size_t alignment and read-back bugs
Three bugs in H5Pget_filter2:
1. cd_nelmts_segment was allocated as JAVA_INT (4 bytes) but size_t* needs
   8 bytes on 64-bit — the C write overflowed into cd_values_segment.
2. cd_nelmts[0] was read back from cd_values_segment (wrong) instead of
   cd_nelmts_segment.
3. cd_values and flags were never copied back from their native segments.

Fix: allocate cd_nelmts_segment as JAVA_LONG, seed it with the caller's
capacity on input, and copy all three output arrays back correctly.
2026-06-22 09:27:40 -05:00
..
2025-03-18 11:09:10 -05:00