noritada / grib-rs

GRIB format parser for Rust
Apache License 2.0
56 stars 9 forks source link

Fix an issue that wrong offset values are stored in reading a message starting from a non-zero position #42

Closed noritada closed 1 year ago

noritada commented 1 year ago

This PR fixes an issue that wrong offset values are stored in reading a message starting from a non-zero position. Since incorrect offset values are stored, re-reading and decoding submessages using those offset values may lead to incorrect value output, crashes, etc.

Closes #38.