NOAA-OWP / evapotranspiration

Other
3 stars 9 forks source link

fix potential overflow that can lead to infinite loop in file reading #22

Closed hellkite500 closed 1 year ago

hellkite500 commented 1 year ago

A potential overflow bug exists in the read_file_line_counts function. Depending on system, compiler, and hardware, this can lead to a infinite loop.

Changes

Testing

  1. Tested through ngen unit tests

Checklist

Testing checklist

Target Environment support