Network

 
AuthorCommitMessageCommit Date
Neil FortnerNeil Fortner
e5fb75996e9[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
Neil FortnerNeil Fortner
ebda7783476[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
Larry KnoxLarry Knox
4d83c85deb2[svn-r19505] Fixed coverity issues 566 - 571. Declared variables that are passed to functions that use them as arrays to be arrays of size 1.
John MainzerJohn Mainzer
71a2d6c803f[svn-r19504] minor mods to try to keep coverity from flagging false positives.
Elena PourmalElena Pourmal
b25bb8c223b[svn-r19503] Bug fix: This fix addressed the "RESOURCE_LEAK" problems #789 and 790, run 26 Platforms tested: jam; trivial fix.
Mike McGreevyMike McGreevy
5e0d19a346e[svn-r19502] Fixed coverity issue 579 and some additional warnings in the file as well. Tested on jam.
Neil FortnerNeil Fortner
81e9bf59cc3[svn-r19501] Fix coverity items 1398-1445. Various uninitialized variable errors in fheap.c. Tested: Fedora
Neil FortnerNeil Fortner
21f3c62b620[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
Larry KnoxLarry Knox
d14abbcf78dM[svn-r19316] Copy hdf5_1_8 branch to hdf5_1_8_coverity branch.
Quincey KoziolQuincey Koziol
08d95cccd20[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...
Neil FortnerNeil Fortner
02c14de215c[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
Allen ByrneAllen Byrne
fc421ce3063[svn-r19190] Added new h5dump ddl files
Allen ByrneAllen Byrne
1baee4680f4[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
Peter CaoPeter Cao
26789743318[svn-r19161] Fixed the part for matching the subset info with dataset -This line, and those below, will be ignored-- M h5dump/h5dump.c
Allen ByrneAllen Byrne
661b5440eb1[svn-r19105] BZ1821 - Bring test changes from the shell script actually used.
Allen ByrneAllen Byrne
281888073f0[svn-r19104] Added new test file for solution to BZ1821
Allen ByrneAllen Byrne
8a9dcbd2bbd[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
Larry KnoxLarry Knox
2580fd7c950[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
Allen ByrneAllen Byrne
ad8f47cef1e[svn-r19080] Added new test expected file for committed bug 1942
Allen ByrneAllen Byrne
0c1209a6ada[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
Mike McGreevyMike McGreevy
9d82bf2374c[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
Larry KnoxLarry Knox
c106144f3d5[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.
Neil FortnerNeil Fortner
55b6a0fb172[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
Neil FortnerNeil Fortner
b865d434463[svn-r19061] Fix coverity item 139. Fixed incorrect condition for freeing buffer on error. Fix coverity items 20 and 21. Removed unused NTESTS facility from dtypes.c. Cleanup in H5Shyper.c. Tested: Fedora
John MainzerJohn Mainzer
96346ba3540[svn-r19060] added parentheses to see if they will keep subversion from getting confused
Larry KnoxLarry Knox
e1ead38aebd[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.
Larry KnoxLarry Knox
c8d4f702fb2[svn-r19046] Add intended but missing assignments to initialize pointers to NULL (coverity issue fixes). Tested on jam.
Larry KnoxLarry Knox
24d27bbfaa7[svn-r19045] Fixed coverity issue # 319. Free sec_node in done if it is not NULL. Tested on jam.
Raymond LuRaymond Lu
64874088be0[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.
Larry KnoxLarry Knox
3dd1fffa3f6[svn-r19043] Addressed coverity issues 442 - 448 by initializing pointers to NULL.
Mike McGreevyMike McGreevy
33bdcc1d2c4[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
Elena PourmalElena Pourmal
83f6a87003f[svn-r19041] Maintenance: Addressed Coverity issues 441 and 449 by initializing proper variables Platforms tested: jam (trivial change)
Raymond LuRaymond Lu
8bf4c0e3cc2[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.
Larry KnoxLarry Knox
b775d26e794M[svn-r19039] Update hdf5_1_8_coverity branch from hdf5_1_8 branch.
Larry KnoxLarry Knox
0c648b52245M[svn-r18839] Recreate hdf5_1_8_coverity branch from hdf5_1_8 r18838 (will soon be v1.8.5).
Elena PourmalElena Pourmal
ebf2e88d3e3[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
Raymond LuRaymond Lu
9ca44bdc5be[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.
Allen ByrneAllen Byrne
443fbfc39bf[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
Allen ByrneAllen Byrne
74bd35edd5b[svn-r18382] Issue 131: Add null checks to allocations and check for free in error handling Tested: located
Mike McGreevyMike McGreevy
0eb80884f4c[svn-r18381] Resolve coverity issues # 214 and # 215 Tested: jam
Larry KnoxLarry Knox
adf60c05d37[svn-r18380] Fixed Coverity issue # 85. Added check of returned pointer for NULL before use. Tested on amani.
Mike McGreevyMike McGreevy
22c3b44918d[svn-r18379] Fix coverity issues # 88 and # 435. Tested: jam.
Larry KnoxLarry Knox
db0a3a80d25[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.
Larry KnoxLarry Knox
395df612058[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.
Raymond LuRaymond Lu
dbdde89211d[svn-r18344] Fix Coverity 213 - In H5FD_family_close, the double pointer file->memb was dereferenced without NULL checking (We believe). Tested on jam.
Mike McGreevyMike McGreevy
3d7c1b2d791[svn-r18343] Fix coverity items 185, 20, and 21.
Quincey KoziolQuincey Koziol
1375f843a0a[svn-r18342] Description: Correct [another] problem w/r18337. Tested on: Mac OS X/32 10.6.2 (amazon) w/debug
Peter CaoPeter Cao
56b8435ccb7[svn-r18341] Close nodes if any failed in the middle of allocating new nodes. Coverity 140 and 141
Quincey KoziolQuincey Koziol
55eaf7ea3a7[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)
Raymond LuRaymond Lu
34cf092f269[svn-r18339] Fix Coverity #185 - In test_conv_str_1, BUF wasn't freed when there's an error in this function. Tested on jam.