Published July 14, 2021
| Version v4.1.3
Software
Open
geospace-code/h5fortran: read: check scalar rank
Authors/Creators
- 1. xjtu
- 2. Royal Meteorological Institute of Belgium
Description
1d-7d arrays were already checked for matching shape on read. Inadvertently, we did not check scalars, so if one read an array dataset into a scalar memory variable, segfaults could result. We did already check 0d..7d on write.
Hence, we add 0d read shape checks (dataset vs. memory variable).
Files
geospace-code/h5fortran-v4.1.3.zip
Additional details
Related works
- Is supplement to
- https://github.com/geospace-code/h5fortran/tree/v4.1.3 (URL)