[gdal-dev] r 39092: vsigzip filesize check

Kurt Schwehr schwehr at gmail.com
Fri Jun 16 05:40:53 PDT 2017


Even,

With https://trac.osgeo.org/gdal/changeset/39092, can you explain the this
check?

    uncompressed_pos - startOff > m_compressed_size

That looks to be comparing the number of bytes compressed vrs
uncompressed.  How is this checking that the filesize changed?  Something
seems wrong or there needs to be a comment somewhere because this doesn't
seem correct.

Thanks,
-kurt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20170616/b560c0f7/attachment.html>


More information about the gdal-dev mailing list