Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Per #1777, fixing memory management in DbfHeader::set_subrecords(). I…
…t is dynamically allocating a buffer based on the record_legnth (e.g. 5) but then reading 32 characters into it! Deleting the dynamically allocated buf variable causes it to abort. Since we always read 32 bytes here, switch to a static buffer of that size rather than dynamically allocating. (#1779) Co-authored-by: John.H.Gotway@noaa.gov <John.H.Gotway@v72a1.ncep.noaa.gov>
- Loading branch information