diff options
author | David Young <dyoung@hdfgroup.org> | 2021-11-23 14:05:01 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-23 14:05:01 (GMT) |
commit | 4b9ca8e1f62c36b8ab5eb803b72df2b0b6fed548 (patch) | |
tree | 4d46413396194906c152470044e7801c855f58b4 /doxygen/examples | |
parent | 3f2271364edd7b0bb3a7cf66cd76f153c7e9e2dc (diff) | |
download | hdf5-4b9ca8e1f62c36b8ab5eb803b72df2b0b6fed548.zip hdf5-4b9ca8e1f62c36b8ab5eb803b72df2b0b6fed548.tar.gz hdf5-4b9ca8e1f62c36b8ab5eb803b72df2b0b6fed548.tar.bz2 |
Avoid calling H5Ropen_object with a misaligned H5R_ref_t: copy the (#1171)
* Avoid calling H5Ropen_object with a misaligned H5R_ref_t: copy the
raw H5R_ref_t bytes to a heap buffer that's known to have the right
alignment.
* Committing clang-format changes
* Use an automatic H5R_ref_t instead of malloc'ing one. Go ahead and
initialize the H5R_ref_t to all-0s so that arbitrary stack content
doesn't foul things up. Bail out with an error if `size` exceeds
`sizeof(H5R_ref_t)`.
* Committing clang-format changes
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Diffstat (limited to 'doxygen/examples')
0 files changed, 0 insertions, 0 deletions