[svn-r19734] Fix memory leak in iopipe. Buffer "the_data" was allocated at the beginning of
main() but never freed. Added call to free() at end of main().
Tested: Fedora
[svn-r19733] Fix memory leak in h5perf_serial. Global buffer "buffer2" was allocated at the
beginning of do_sio() but never freed. Added call to free() at end of do_sio().
Tested: Fedora
[svn-r19500] Fix coverity items 1446 and 1447. Moved up calls to memset in test_cont in
ohdr.c so the test never tries to close uninitialized locations.
Tested: Fedora
[svn-r19246] Description:
Improve metadata "accumulator" for files to track the dirty region within
the accumulator data. This allows the accumulator to drop clean data and
reduces the number of I/O operations when it is dirtied.
This is progress toward Bz#1142 - speeding up the fheap test (which it
doesn't help much, actually, but it does help other aspects of file I/O).
Tested on:
Mac OS X/32 10.6.4 (amazon) w/debug
Linux/32 2.6 (jam) w/debug
(h5committest not require...
[svn-r19191] Fix coverity items 104 and 105. Added calls to H5HF_sect_indirect_free to
H5HF_sect_indirect_reduce and H5HF_sect_indirect_reduce_row if there is an errorbefore "peer_sect" is linked into the main free space structure via its direct
sections. Also delayed call to H5HF_sect_indirect_first to prevent peer_sect
from being left in an inconsistent state.
Tested: Fedora
[svn-r19189] BZ1646: h5dump does not check number of dimensions for subsetting parameters against the dataset
Changed subset_t structure from holding hsize_t pointers to holding new subset_d pointers, which hold the original hsize_t pointer + len. this len is then checked against dataset ndims in the handle_dataset function of h5dump.
Changed all references to use new data structure.
Added tests for each subset parameter.
Tested: local linux
[svn-r19103] [BZ1821] h5repack -v did not display correct output for a selected compression. Needed new test for comparing output of -v option.
Tested: local linux
[svn-r19081] Make ';' consistent for all occurrences of H5_PUSH_FUNC in H5private.h. Tested with Sun 5.10 on linew. Also testing with h5committest on amani, heiwa and jam for v 1.8
[svn-r19079] [BZ1942] h5dump -u to generate XML, it does not respect the -m option
xml version of dump_data function didn't check for use of fp_format variable.
Tested: local linux
[svn-r19078] Purpose:
Resolve Memory Leaks
Description:
Free saved ID structures in H5I interface
when library shuts down.
Tested:
jam and netCDF-4 tests w/ valgrind
[svn-r19063] New fix to address coverity issue #84. Check that pointers in H5Z_xform_find_type are not NULL before passing them to H5T_cmp.
Tested on amani.
[svn-r19062] Fix coverity item 450. Check to see if chk_proxy has been allocated before
attempting to free it.
Fix coverity item 454. Check to see if allocation of buf failed in
H5D_fill_refill_vl.
Fix coverity items 455-457. Initilize hid_t's to -1, check their value before
attempting to close them, and check if the close failed.
Tested: Fedora
[svn-r19049] Hdf5_1_8_coverity branch was recreated from hdf5_1_8 branch in revision 18839 without fix for Coverity issue #84 having been propagated to the hdf5_1_8 branch. This revision adds the fix again.
Tested on jam.
[svn-r19044] Coverity #449 - Line 1560 called function H5O_chunk_protect for 2 pointers to allocate. But when there's failure on the second one, the first wasn't freed
(H5O_chunk_unprotect). We fixed it by freeing the pointers when an error happens.
Tested testhdf5.c on jam.
[svn-r19042] In function H5O_chunk_protect (H5Ochunk.c):
- Initialize H5O_chunk_proxy_t pointers chk_proxy and ret_value.
- Free chk_proxy on error.
Tested: jam
[svn-r19040] Fixed coverity #440 - NULL check after dereference. We moved the NULL check up into the IF block and changed it to assertion.
Tested testhdf5.c on jam.
[svn-r18401] Bug fix: Coverity #84.
Coverity complained that H5T_cmp may dereference NULL.
We added check if one of the arguments is NULL in the H5T_cmp function
and removed asserts that are not effective in the development mode.
EIP and PC
[svn-r18384] Coverity #249 and #250 - STRING_ATT_CHECK wasn't allocated before being used and
freed in function test_write_vl_string_attribute and test_read_vl_string_attribute.
Tested on jam - valgrind reported some memory leaks from these 2 functions, which
need some more investigation.
[svn-r18383] Issue 421:
Reorganized code to make intention clearer. Also, set local variable fl to NULL after transfer to tail. Heap->freelist will take care of all allocations
Tested: local linux
[svn-r18378] Fixed coverity issues 207 and 322. Pointer hdr was checked for NULL after being asserted and dereferenced. Check was removed.
Tested on amani.
[svn-r18345] Fix Coverity issue # 210; removed NULL check after pointer dereferenced in H5HFdblock.c. Also assigned NULL to pointer in H5Pint.c to fix segmentatino fault. Tested on amani.
[svn-r18344] Fix Coverity 213 - In H5FD_family_close, the double pointer file->memb was dereferenced without NULL checking
(We believe).
Tested on jam.
[svn-r18340] Description:
Correct error in r18337 that wasn't releasing indirect fractal heap block
early enough.
Tested on:
Mac OS X/32 10.6.2 (amazon)