mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-21 01:04:10 +08:00
bb25c85e79
Bring Coverity fixes from 1/22/10 session to trunk: r18137: 219: Initialized hid_t to -1 and added close to error block. 189-191: Initialized line to NULL and added free line, and close fp to error block. r18138: 19: Moved code block for printing that the number of enums is empty to the error block. (Would never have been executed otherwise) r18139: Fix coverity item 58. Moved code related to displaying the parent of a repeated group to the else(isRoot) section, as the root group has no parent. r18140: 218: Initialized ret_value variable to -1. Because of throw Exception in default case of switch, the coverity problem would not have executed anyway. Good pratice is to initialize variables. r18141: Fix coverity item 92. Added code to H5E_register_class to free cls in case of an error. r18142: Fix coverity item 91. Added code to H5E_create_msg to free msg in case of an error. r18143: fixed issue 14, took away "if" and used #ifndef_xxx. r18144: Fix coverity item 110. Added code to H5Eget_minor to free msg_str in case of an error. r18145: fixed coverity #18 removed "aligned", it is always NULL. r18146: Fix coverity item 109. Added code to H5Eget_major to free msg_str in case of an error. r18147: Fixed coverity #81 and #82, Check for bad pointer(s), but can't issue error, just leave r18148: Fix coverity item 97. Added code to H5FD_fapl_open to free copied_driver_info in case of an error. r18149: Fix coverity item 96. Added code to H5FD_dxpl_open to free copied_driver_info in case of an error. r18150: Fix Coverity issue #29: Protected cache_ptr dereferences with "if(pass)" block r18151: Fix coverity item 93. Added code to H5FL_fac_init to free factory and new_node in case of an error. r18152: Fix coverity items 98 and 99. Added code free allocated space in case of error. 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. 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 on: Mac OS X/32 10.6.2 (amazon) debug & production |
||
---|---|---|
bin | ||
c++ | ||
config | ||
examples | ||
fortran | ||
hl | ||
perform | ||
release_docs | ||
src | ||
test | ||
testpar | ||
tools | ||
vms | ||
windows | ||
.autom4te.cfg | ||
.h5chkright.ini | ||
aclocal.m4 | ||
acsite.m4 | ||
configure | ||
configure.in | ||
COPYING | ||
Makefile.am | ||
Makefile.dist | ||
Makefile.in | ||
MANIFEST | ||
README.txt |
HDF5 version 1.9.59 currently under development Please refer to the release_docs/INSTALL file for installation instructions. ------------------------------------------------------------------------------ This release is fully functional for the API described in the documentation. See the RELEASE.txt file in the release_docs/ directory for information specific to this release of the library. Several INSTALL* files can also be found in the release_docs/ directory: INSTALL contains instructions for compiling and installing the library; INSTALL_parallel contains instructions for installing the parallel version of the library; similarly-named files contain instructions for VMS and several environments on MS Windows systems. Documentation for this release can be found at the following URL: http://www.hdfgroup.org/HDF5/doc/. The following mailing lists are currently set up for HDF5 Library users: news - For announcements of HDF5 related developments, not a discussion list. hdf-forum - For general discussion of the HDF5 library with other users. hdf5dev - For discussion of the HDF5 library development with developers and other interested parties. To subscribe to a list, send mail to "<list>-subscribe@hdfgroup.org". where <list> is the name of the list. For example, send a request to subscribe to the 'news' mail list to the following address: news-subscribe@hdfgroup.org Messages to be sent to the list should be sent to "<list>@hdfgroup.org". Periodic code snapshots are provided at the following URL: ftp://ftp.hdfgroup.uiuc.edu/pub/outgoing/hdf5/snapshots Please read the README.txt file in that directory before working with a library snapshot. The HDF5 website is located at http://hdfgroup.org/HDF5/ Bugs should be reported to help@hdfgroup.org.