summaryrefslogtreecommitdiffstats
path: root/src/H5MFpkg.h
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2023-04-29 17:35:13 (GMT)
committerGitHub <noreply@github.com>2023-04-29 17:35:13 (GMT)
commit12907de9985e9d216c10347dd6b4d2a7eaeecf43 (patch)
tree2ac1cf93d76ca0913ccbc15db0dfbbdd68a97096 /src/H5MFpkg.h
parent46cedc2eb03ad7cd6e8404f5e6b526588436f946 (diff)
downloadhdf5-12907de9985e9d216c10347dd6b4d2a7eaeecf43.zip
hdf5-12907de9985e9d216c10347dd6b4d2a7eaeecf43.tar.gz
hdf5-12907de9985e9d216c10347dd6b4d2a7eaeecf43.tar.bz2
Don't use strnlen when len is not known (#2855)
The datatype object header message decode function was updated to do bounds checking on the decode buffer. This buffer may arrive with no buffer size via H5Tdecode(), in which case the buffer size will have been set to SIZE_MAX by the library. This fix changes the string length calls to strlen when we don't know the buffer size (and avoids a potential compiler bug with icc 17).
Diffstat (limited to 'src/H5MFpkg.h')
0 files changed, 0 insertions, 0 deletions