Spelt / ZXing.Delphi

ZXing Barcode Scanning object Pascal Library for Delphi VCL and Delphi Firemonkey
Apache License 2.0
471 stars 206 forks source link

Reference to an array element out of scope #156

Closed JedrzejczykRobert closed 1 year ago

JedrzejczykRobert commented 1 year ago

file: ZXing.DefaultGridSampler

line: 120 code: max := Length(points); should be: max := Length(points) - 1;

line 177: code: while ((offset < Length(points)) and nudged) do should be: while ((offset < (Length(points)-1)) and nudged) do