Skip to content
Snippets Groups Projects
Select Git revision
  • develop
  • master default protected
  • v1.2.11
  • v1.2.10
  • v1.2.9
  • v1.2.8
  • v1.2.7.3
  • v1.2.7.2
  • v1.2.7.1
  • v1.2.7
  • v1.2.6.1
  • v1.2.6
  • v1.2.5.3
  • v1.2.5.2
  • v1.2.5.1
  • v1.2.5
  • v1.2.4.5
  • v1.2.4.4
  • v1.2.4.3
  • v1.2.4.2
  • v1.2.4.1
  • v1.2.4
22 results

example.c

  • Mark Adler's avatar
    0d36ec47
    Don't bother computing check value after successful inflateSync(). · 0d36ec47
    Mark Adler authored
    inflateSync() is used to skip invalid deflate data, which means
    that the check value that was being computed is no longer useful.
    This commit turns off the check value computation, and furthermore
    allows a successful return if the compressed data terminated in a
    graceful manner. This commit also fixes a bug in the case that
    inflateSync() is used before a header is ever processed. In that
    case, there is no knowledge of a trailer, so the remainder is
    treated as raw.
    0d36ec47
    History
    Don't bother computing check value after successful inflateSync().
    Mark Adler authored
    inflateSync() is used to skip invalid deflate data, which means
    that the check value that was being computed is no longer useful.
    This commit turns off the check value computation, and furthermore
    allows a successful return if the compressed data terminated in a
    graceful manner. This commit also fixes a bug in the case that
    inflateSync() is used before a header is ever processed. In that
    case, there is no knowledge of a trailer, so the remainder is
    treated as raw.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.