There is a newer version of the record available.

Published July 14, 2021 | Version v4.1.3

geospace-code/h5fortran: read: check scalar rank

  • 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

Files (112.7 kB)

Name Size
md5:fb534b8c2cea2ed29f023207425eb201
112.7 kB Preview Download

Additional details