diff options
author | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2005-07-05 15:41:37 (GMT) |
---|---|---|
committer | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2005-07-05 15:41:37 (GMT) |
commit | 3ce62a78771a24fb93ded6f0580304141bfd28e3 (patch) | |
tree | a404c13bd36f42fb815af5696693803b7d20e1ac /tools/h5repack | |
parent | c80b03cf3310823e6343f24836227e3d91a5fa53 (diff) | |
download | hdf5-3ce62a78771a24fb93ded6f0580304141bfd28e3.zip hdf5-3ce62a78771a24fb93ded6f0580304141bfd28e3.tar.gz hdf5-3ce62a78771a24fb93ded6f0580304141bfd28e3.tar.bz2 |
[svn-r11017] Purpose:
bug fix
Description:
a string buffer did not had space for the trailing null
Solution:
add one more element to the buffer
Platforms tested:
linux
Misc. update:
Diffstat (limited to 'tools/h5repack')
-rw-r--r-- | tools/h5repack/testh5repack_make.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/h5repack/testh5repack_make.c b/tools/h5repack/testh5repack_make.c index 48a9a72..608fdd9 100644 --- a/tools/h5repack/testh5repack_make.c +++ b/tools/h5repack/testh5repack_make.c @@ -1134,7 +1134,7 @@ int make_layout(hid_t loc_id) hsize_t chunk_dims[RANK]={CDIM1,CDIM2}; int buf[DIM1][DIM2]; int i, j, n; - char name[5]; + char name[6]; for (i=n=0; i<DIM1; i++){ |