summaryrefslogtreecommitdiffstats
path: root/java/src/jni/h5aImp.h
diff options
context:
space:
mode:
authorEgbert Eich <eich@suse.com>2022-11-11 06:05:00 (GMT)
committerGitHub <noreply@github.com>2022-11-11 06:05:00 (GMT)
commit0f94940f1a9ae95de38b70709eb413511b76c73b (patch)
tree6ddf84feb36d47b7849b024250dd2cd8321b8b26 /java/src/jni/h5aImp.h
parent34ec3bb7bc129f52bda4d82601f3bce65426459d (diff)
downloadhdf5-0f94940f1a9ae95de38b70709eb413511b76c73b.zip
hdf5-0f94940f1a9ae95de38b70709eb413511b76c73b.tar.gz
hdf5-0f94940f1a9ae95de38b70709eb413511b76c73b.tar.bz2
H5O_dtype_decode_helper: Parent of enum needs to have same size as enum itself (#2237)
The size of the enumeration values is determined by the size of the parent. Functions accessing the enumeration values use the size of the enumeration to determine the size of each element and how much data to copy. Thus the size of the enumeration and its parent need to match. Check here to avoid unpleasant surprises later. This fixes CVE-2018-14031 / Bug #2236. Signed-off-by: Egbert Eich <eich@suse.com>
Diffstat (limited to 'java/src/jni/h5aImp.h')
0 files changed, 0 insertions, 0 deletions