diff options
author | Elena Pourmal <epourmal@hdfgroup.org> | 2001-07-16 19:57:03 (GMT) |
---|---|---|
committer | Elena Pourmal <epourmal@hdfgroup.org> | 2001-07-16 19:57:03 (GMT) |
commit | fe309eda4fa2012789b947b2471081725d18e27c (patch) | |
tree | 3d6a446ee80558b8258a638edae3720dfb24b005 /fortran/src/H5Git.h | |
parent | 00f62b983a2f2051adfd4dd619c8db9148472347 (diff) | |
download | hdf5-fe309eda4fa2012789b947b2471081725d18e27c.zip hdf5-fe309eda4fa2012789b947b2471081725d18e27c.tar.gz hdf5-fe309eda4fa2012789b947b2471081725d18e27c.tar.bz2 |
[svn-r4216]
Purpose:
Bug fix (bug#625)
Description:
Character buffers were not copied and freed properly. That caused segmentation fault on Linux (Debian 2.2, a glibc2.1.3-based distro and gcc 2.95.2 and NAGWare Fortran 95 compiler Release 4.0a(392). Also many compilers screamed about this piece of code.
Solution:
Asked Quincey to fix the code.
Platforms tested:
Linux (eirene)
Diffstat (limited to 'fortran/src/H5Git.h')
-rw-r--r-- | fortran/src/H5Git.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fortran/src/H5Git.h b/fortran/src/H5Git.h index 7211440..20760b0 100644 --- a/fortran/src/H5Git.h +++ b/fortran/src/H5Git.h @@ -11,6 +11,6 @@ int H5Gn_members( hid_t loc_id, char *group_name ); -herr_t H5Gget_obj_info_idx( hid_t loc_id, char *group_name, int idx, char **objname, int *type ); +herr_t H5Gget_obj_info_idx( hid_t loc_id, char *group_name, int idx, char **objname, size_t max_objname_len, int *type ); #endif /*_H5Git_H*/ |