Network

 
AuthorCommitMessageCommit Date
Raymond LuRaymond Lu
b236e11f99a[svn-r18338] Fixed Coverity #94 - In H5P_register, new_class wasn't closed when there's an error after it's created. Tested on jam.
Quincey KoziolQuincey Koziol
fe9e1bbc876[svn-r18337] Description: Fix Coverity issue #106: release free space section node on error Tested on: Mac OS X/32 10.6.2 (amazon) w/debug
Mike McGreevyMike McGreevy
4f87c189ebc[svn-r18336] Fix coverity issues 275, 276, 277, 323, 432, 433, and 434 Tested: jam
Mike McGreevyMike McGreevy
4dea1c8a804[svn-r18299] Fix coverity issue #112: Add cleanup during error handling of H5MP_create. Tested: jam
Peter CaoPeter Cao
609be9d79ea[svn-r18298] Fix coverity# 119 free object in H5HG_read() before exit the function when failure occurs
Allen ByrneAllen Byrne
3d2a9efd58d[svn-r18297] Fixed coverity issues 54, 55 and 216. Correctly handle the various ways that allocation of attr_name can fail in test_attr_basic_write.
Peter CaoPeter Cao
0d3ca696627[svn-r18296] Fix coverity# 100 free down_loc in H5HF_man_iter_down() before exit the function when failure occurs
Peter CaoPeter Cao
c53db0df0f2[svn-r18295] Fix coverity# 101 free new_loc in H5HF_man_iter_start_entry() correctly before exit the function even when failure occurs
Allen ByrneAllen Byrne
99b1995ccff[svn-r18294] Issue 153, 152: Check allocations and free allocations in error block. Also cleaned up hid_t identifer that were opened in error block. Tested: local linux
Quincey KoziolQuincey Koziol
9107cf1abc8[svn-r18290] Description: Fix Coverity issue #103: release allocated indirect section on error Tested on: Mac OS X/32 10.6.2 (amazon) w/debug
Quincey KoziolQuincey Koziol
bdd7772c068[svn-r18289] Description: Fix Coverity issue #429: correct failure return values to match return type from routine. Tested on: Mac OS X/32 10.6.2 (amazon) w/debug
Peter CaoPeter Cao
54f92883d8d[svn-r18288] Fix coverity# 107 free fh in H5HF_close() correctly before exit the function even when failure occurs.
Mike McGreevyMike McGreevy
3262519d1cc[svn-r18287] Fix coverity issue # 409 Added if (pass) checks around calls to flush_cache. Additionally, added a check for file_ptr = NULL after call to setup_cache. Tested: jam
Allen ByrneAllen Byrne
d617a28328e[svn-r18286] Issue 165: custom_print_cb() needed allocations freed in error block. Tested: local linux
Quincey KoziolQuincey Koziol
53b06fbf6de[svn-r18285] Description: Fix Coverity issue #410 by wrapping test calls with if(pass) {} block. Tested on: Mac OS X/32 10.6.2 (amazon) w/debug
Allen ByrneAllen Byrne
603cdef3987[svn-r18284] Issue 166: init_error() malloc'd 3 pointers in initialization and never freed inc ase of errors. Init pointers to NULL, check allocation results and free allocations in error block Tested: local linux
Quincey KoziolQuincey Koziol
96cec773985[svn-r18283] Description: Fix Coverity issue #425 by wrapping test calls in if(pass) {} block Tested on: Mac OS X/32 10.6.2 (amazon) w/debug
Quincey KoziolQuincey Koziol
a1e3832f015[svn-r18282] Description: Fix Coverity issue #428 by wrapping testing calls with if(pass) {} block. Tested on: Mac OS X/32 10.6.2 (amazon) w/debug
Mike McGreevyMike McGreevy
12c1cf465d7[svn-r18250] Fix coverity issue #86. Check return of malloc function to ensure non-null before continuing.
Peter CaoPeter Cao
8bf4808d21f[svn-r18249] fixed coverity 274: moved H5FL_FREE(H5A_t, attr); to a line above so that if attr is null, it will not free it.
Quincey KoziolQuincey Koziol
5c9b69ee034[svn-r18248] Description: Coverity issue #414 by checking for NULL return from setup_cache() (LK & QK) Tested on: Mac OS X/32 10.6.2 (amazon) w/debug
Peter CaoPeter Cao
9596855f187[svn-r18247] Fixed coverity 113: if (sequence) H5MM_xfree(sequence);
Larry KnoxLarry Knox
66836ff1ebd[svn-r18246] Check file_ptr to address coverity issue # 418
Allen ByrneAllen Byrne
109a6229ec3[svn-r18245] Issue 121: H5S_hyper_make_spans() cannot deal with counts of 0. However, H5Sselect_hyperslab() API does allow a count of 0. Therefore, simply throw an error if this function encounters a count of 0. Tested: Local linux
Peter CaoPeter Cao
ab1539c2fc9[svn-r18244] Coverity Fix 132: free dest correctly in H5O_efl_copy()
Quincey KoziolQuincey Koziol
c18eef44c47[svn-r18243] Description: Fix Coverity issue #417 by checking for NULL return value from setup_cache() (LK & QK) Tested on: Mac OS X/32 10.6.2 (amazon) w/debug
Peter CaoPeter Cao
ed7312dfe29[svn-r18242] Coverity fix 139: Free dst correctly in H5O_sdspace_copy().
Peter CaoPeter Cao
070f6396aa6[svn-r18241] coverity fix: use correct free functon H5FL_FREE()from the previous fix
Neil FortnerNeil Fortner
8850d4a3575[svn-r18239] Fix coverity item 268. Changed H5MM_xfree(read_buf) to read_buf = H5MM_xfree(read_buf) so that read_buf isn't manipulated after it's been freed. Tested: Fedora
Neil FortnerNeil Fortner
6499a9693e3[svn-r18238] Fix coverity items 421 and 422. Added assertion that the heap's free list is NULL when entering H5HL_fl_deserialize, guarateeing that the free list will always be linked in even on failure. Tested: Fedora
Peter CaoPeter Cao
82bda6c020a[svn-r18237] fixed coverity 133: if (NULL==_dest && NULL==ret_value && NULL != dest) H5MM_free(dest);
Quincey KoziolQuincey Koziol
6cd0288980b[svn-r18236] Description: Close Coverity issue #28 (again :-) by working through the logic of the routine more thoroughly to eliminate the goto statements. (LK & QK) Tested on: Mac OS X/32 10.6.2 (amazon) w/debug
Peter CaoPeter Cao
e1c5a809208[svn-r18235] Fixed coverity 114: if (NULL ==_dest) H5MM_free(dest);
Larry KnoxLarry Knox
955f1ca07c8[svn-r18216] Fixed Coverity issues 57 & 67. Checked oid_count > 0 before memory allocatino and oid_list != NULL before dereferencing. Tested on amani.
Neil FortnerNeil Fortner
63e5387e345[svn-r18215] Fix coverity item 317. Removed unreachable code in H5B2_hdr_alloc. Tested: Fedora
Allen ByrneAllen Byrne
5136761b979[svn-r18214] Issue 423: cache_ptr was not initialized. if global 'pass' was false, cache_ptr could be used. Extended scope of if(pass) block to include whole function-flush_cache(). Tested: local linux
Larry KnoxLarry Knox
22ff7f25295[svn-r18194] Fixed Coverity issues 61 & 62. Checked variable snpoints for value < 0 in line 218.
Mike McGreevyMike McGreevy
e18054c2635[svn-r18192] Fix Coverity items 121 and 28 Added Asserts: 121: assert that all dimensions of count have values greater than zero. 28: assert curr_span pointer is not null before dereference. Note: still need too add checks in hyperslab APIs that fail when count values are zero, and appropriate tests.
Larry KnoxLarry Knox
ed72afa8522[svn-r18191] Fixed Coverity error 59. Checked sfirst for -1 value before use in line 10533.
Neil FortnerNeil Fortner
acdacb96399[svn-r18190] Fix coverity item 95. Added code to H5T_create_vlen to correctly close allocated datatype in case of failure. Tested: Fedora
Larry KnoxLarry Knox
67ac8fe53d8[svn-r18188] Fixed Coverity issue 46. Check that dataset->shared is not null when freeing memory after error.
Neil FortnerNeil Fortner
dfc76ffad3e[svn-r18187] Fix coverity items 115 and 116. Added code to H5Tenum.c to correctly close opened datatypes in case of failure. Tested: Fedora
Neil FortnerNeil Fortner
e8dc59ec553[svn-r18186] Fix coverity item 65. Added code to h5unjam to correctly handle failures in read() and write, and also to correctly handle writes that write less than requested. Tested: Fedora
Larry KnoxLarry Knox
e5845aef269[svn-r18185] Fixed Coverity issues 357 & 358. Added check for NULL pointer before use.
Larry KnoxLarry Knox
273db12683f[svn-r18184] Fixed Coverity issue 373. Allocated memory freed in line 762 in case of error.
Private HDFPrivate HDF
42a67e37f99M[svn-r18183] Copy hdf5_1_8 branch for fixing Coverity issues.
Larry KnoxLarry Knox
826a674818a[svn-r18156] Fix coverity issues 179, 180, 181, 182, 183, 184, 186, 320, 407. These were resource leak issues where allocated memory was not freed, generally in the case of tests that failed. Tested: amani
Allen ByrneAllen Byrne
4ac673be057[svn-r18155] 124: Freed head pointer before jumping to done. There was no error handling block and normal exit used same path out. 120-123: Freed list of lists in error handling block.
Neil FortnerNeil Fortner
554a799d409[svn-r18152] Fix coverity items 98 and 99. Added code free allocated space in case of error. Tested: Fedora
Neil FortnerNeil Fortner
a9518caa99f[svn-r18151] Fix coverity item 93. Added code to H5FL_fac_init to free factory and new_node in case of an error. Tested: Fedora