diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2010-07-29 19:07:26 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2010-07-29 19:07:26 (GMT) |
commit | 7fe87a24722f991ffc030782cd42d24df00dbace (patch) | |
tree | 7d466f911a952916b99e2c86e83202d0e07cffaa /src/H5Oprivate.h | |
parent | 178b80b679b874d99287b28898e242533721ea67 (diff) | |
download | hdf5-7fe87a24722f991ffc030782cd42d24df00dbace.zip hdf5-7fe87a24722f991ffc030782cd42d24df00dbace.tar.gz hdf5-7fe87a24722f991ffc030782cd42d24df00dbace.tar.bz2 |
[svn-r19153] Description:
Bring changes on Coverity branch back to trunk:
r19040:
Fixed coverity #440 - NULL check after dereference. We moved the NULL check up
into the IF block and changed it to assertion.
r19041:
Maintenance: Addressed Coverity issues 441 and 449 by initializing proper
variables
r19042:
In function H5O_chunk_protect (H5Ochunk.c):
- Initialize H5O_chunk_proxy_t pointers chk_proxy and ret_value.
- Free chk_proxy on error.
r19043:
Addressed coverity issues 442 - 448 by initializing pointers to NULL.
Tested on:
Mac OS X/32 10.6.4 (amazon) w/debug & production
(Too minor to require h5committest)
Diffstat (limited to 'src/H5Oprivate.h')
-rw-r--r-- | src/H5Oprivate.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Oprivate.h b/src/H5Oprivate.h index c38ddea..cc06671 100644 --- a/src/H5Oprivate.h +++ b/src/H5Oprivate.h @@ -713,7 +713,7 @@ H5_DLL herr_t H5O_debug(H5F_t *f, hid_t dxpl_id, haddr_t addr, FILE * stream, in /* These functions operate on object locations */ H5_DLL herr_t H5O_loc_reset(H5O_loc_t *loc); -H5_DLL herr_t H5O_loc_copy(H5O_loc_t *dst, const H5O_loc_t *src, H5_copy_depth_t depth); +H5_DLL herr_t H5O_loc_copy(H5O_loc_t *dst, H5O_loc_t *src, H5_copy_depth_t depth); H5_DLL herr_t H5O_loc_hold_file(H5O_loc_t *loc); H5_DLL herr_t H5O_loc_free(H5O_loc_t *loc); |