summaryrefslogtreecommitdiffstats
path: root/src/H5Bprivate.h
diff options
context:
space:
mode:
authorScott Wegner <swegner@hdfgroup.org>2008-05-12 18:01:38 (GMT)
committerScott Wegner <swegner@hdfgroup.org>2008-05-12 18:01:38 (GMT)
commitf9835e10193f036b50b03edd875d98e9aa11af23 (patch)
tree04496e8ac24a20bac9f00b11fa0f08315ceb562f /src/H5Bprivate.h
parent90205aa02c636e2ae3bf1405d6b18a5106711524 (diff)
downloadhdf5-f9835e10193f036b50b03edd875d98e9aa11af23.zip
hdf5-f9835e10193f036b50b03edd875d98e9aa11af23.tar.gz
hdf5-f9835e10193f036b50b03edd875d98e9aa11af23.tar.bz2
[svn-r14973] Purpose: Fix bug in H5G_get_name_by_addr where buffer size is less than size of name
Description: In the new tests merged from the fortran_1_8 branch, there is a test that fetches a dataset name in a small buffer. The call to H5G_get_name_by_addr wrote an extra byte off the end of the buffer. A simple and sufficient fix is to decrease the buffer size passed to strncmp by 1. This bug was only caught by Visual Studio 2005 with extra debug checks on. Tested: VS2005 on WinXP kagiso
Diffstat (limited to 'src/H5Bprivate.h')
0 files changed, 0 insertions, 0 deletions