1. 24 3月, 2013 4 次提交
  2. 23 3月, 2013 2 次提交
  3. 24 2月, 2013 12 次提交
  4. 19 2月, 2013 1 次提交
    • M
      Fix serious but very rare decompression bug in inftrees.c. · 51370f36
      Mark Adler 提交于
      inftrees.c compared the number of used table entries to the maximum
      allowed value using >= instead of >.  This patch fixes those to use
      >.  The bug was discovered by Ignat Kolesnichenko of Yandex LC
      where they have run petabytes of data through zlib.  Triggering the
      bug is apparently very rare, seeing as how it has been out there in
      the wild for almost three years before being discovered.  The bug
      is instantiated only if the exact maximum number of decoding table
      entries, ENOUGH_DISTS or ENOUGH_LENS is used by the block being
      decoded, resulting in the false positive of overflowing the table.
      51370f36
  5. 22 1月, 2013 1 次提交
  6. 25 10月, 2012 2 次提交
  7. 12 10月, 2012 1 次提交
  8. 02 10月, 2012 1 次提交
  9. 30 9月, 2012 2 次提交
  10. 25 8月, 2012 1 次提交
    • M
      Fix unintialized value bug in gzputc() introduced by const patches. · aa566e86
      Mark Adler 提交于
      Avoid the use of an uninitialized value when the write buffers have
      not been initialized.  A recent change to avoid the use of strm->
      next_in in order to resolve some const conflicts added the use of
      state->in in its place.  This patch avoids the use of state->in
      when it is not initialized.  Nothing bad would actually happen,
      since two variables set to the same unintialized value are
      subtracted.  However valgrind was rightly complaining.  So this
      fixes that.
      aa566e86
  11. 19 8月, 2012 2 次提交
  12. 14 8月, 2012 3 次提交
  13. 13 8月, 2012 1 次提交
    • M
      Clean up the usage of z_const and respect const usage within zlib. · 62d6112a
      Mark Adler 提交于
      This patch allows zlib to compile cleanly with the -Wcast-qual gcc
      warning enabled, but only if ZLIB_CONST is defined, which adds
      const to next_in and msg in z_stream and in the in_func prototype.
      A --const option is added to ./configure which adds -DZLIB_CONST
      to the compile flags, and adds -Wcast-qual to the compile flags
      when ZLIBGCCWARN is set in the environment.
      62d6112a
  14. 09 7月, 2012 3 次提交
  15. 07 7月, 2012 2 次提交
  16. 10 6月, 2012 2 次提交