summaryrefslogtreecommitdiffstats
path: root/src/H5Spoint.c
diff options
context:
space:
mode:
authorNeil Fortner <nfortne2@hdfgroup.org>2015-08-07 16:15:39 (GMT)
committerNeil Fortner <nfortne2@hdfgroup.org>2015-08-07 16:15:39 (GMT)
commit98f947ceaedbae472efbebad505680d2ca62b403 (patch)
tree21146ddcd7fd224d9f68bccc9824aa082eb9c205 /src/H5Spoint.c
parentbfd13897f6dcfddce253c6a5463cb9f53b927800 (diff)
downloadhdf5-98f947ceaedbae472efbebad505680d2ca62b403.zip
hdf5-98f947ceaedbae472efbebad505680d2ca62b403.tar.gz
hdf5-98f947ceaedbae472efbebad505680d2ca62b403.tar.bz2
[svn-r27479] Add checking for invalid inputs to H5Dset_virtual: point selections, incorrect
numbers of elements selected, incorrect "slice" through limited dimensions, incorrect number of printf substitutions. Patch source selection space extent with bounds of selection if extent is unknown before returning via H5Pget_virtual_srcspace. Write updated VDS dataspace to file when it changes due to unlimited selections. Other minor fixes/cleanup. Tested: ummon
Diffstat (limited to 'src/H5Spoint.c')
-rw-r--r--src/H5Spoint.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/H5Spoint.c b/src/H5Spoint.c
index 1ea4a23..d10b600 100644
--- a/src/H5Spoint.c
+++ b/src/H5Spoint.c
@@ -80,6 +80,7 @@ const H5S_select_class_t H5S_sel_point[1] = {{
H5S_point_bounds,
H5S_point_offset,
H5S_point_unlim_dim,
+ NULL,
H5S_point_is_contiguous,
H5S_point_is_single,
H5S_point_is_regular,