mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-01-31 09:05:14 +01:00
Fixed header length check
This commit is contained in:
parent
b3767e85e1
commit
07581f027b
@ -217,7 +217,7 @@ bool RGNFile::load(Handle &hdl)
|
||||
&& readUInt32(hdl, _base.size)))
|
||||
return false;
|
||||
|
||||
if (hdrLen >= 0x68) {
|
||||
if (hdrLen >= 0x71) {
|
||||
if (!(readUInt32(hdl, _polygons.offset) && readUInt32(hdl, _polygons.size)
|
||||
&& seek(hdl, _gmpOffset + 0x29) && readUInt32(hdl, _polygonsGblFlags)
|
||||
&& readUInt32(hdl, _polygonsLclFlags[0])
|
||||
|
Loading…
x
Reference in New Issue
Block a user