NOAA-EMC / NCEPLIBS-grib_util

This is a collection of NCEP GRIB related utilities.
Other
21 stars 11 forks source link

fixed warning and memory problems in degrib2 #223

Closed edwardhartnett closed 1 year ago

edwardhartnett commented 1 year ago

Fixes #222 Fixes #220 Fixes #224 Fixes #228 Fixes #226 Part of #191

Fix a memory problem in degrib2, where the code attempts to access element 0 of an array. Also fixed length of strings for level and time abbrevs which was too short, causing memory problems.

Also fix a warning about a continuation character in the middle of a string.