1. 25 10月, 2012 1 次提交
  2. 12 10月, 2012 1 次提交
  3. 02 10月, 2012 1 次提交
  4. 30 9月, 2012 2 次提交
  5. 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
  6. 19 8月, 2012 2 次提交
  7. 14 8月, 2012 3 次提交
  8. 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
  9. 09 7月, 2012 3 次提交
  10. 07 7月, 2012 2 次提交
  11. 10 6月, 2012 4 次提交
  12. 04 6月, 2012 2 次提交
    • M
      f947435b
    • M
      Use _snprintf for snprinf in Microsoft C. · 25e4a3da
      Mark Adler 提交于
      More than a decade later, Microsoft C does not support the C99
      standard.  It's good that _snprintf has a different name, since it
      does not guarantee that the result is null terminated, as does
      snprintf.  However where _snprintf is used under Microsoft C, the
      destination string is assured to be long enough, so this will not
      be a problem.  This occurs in two places, both in gzlib.c.  Where
      sprintf functionality is needed by gzprintf, vsnprintf is used in
      the case of Microsoft C.
      25e4a3da
  13. 03 6月, 2012 1 次提交
  14. 27 5月, 2012 1 次提交
  15. 23 5月, 2012 1 次提交
  16. 21 5月, 2012 1 次提交
  17. 18 5月, 2012 1 次提交
  18. 04 5月, 2012 1 次提交
  19. 03 5月, 2012 4 次提交
  20. 02 5月, 2012 1 次提交
  21. 30 4月, 2012 4 次提交
  22. 23 4月, 2012 2 次提交