1. 07 Jul, 2022 2 commits
    • zlib: slide_hash: add MSAN annotation to suppress known read from uninitialised memory · 8a6cb7ad
      slide_hash knowingly reads (possibly) uninitialised memory, see comment
      lower down about prev[n] potentially being garbage. In this case, the
      result is never used - so we don't care about MSAN complaining about
      this read.
      
      By adding the no_sanitize("memory") attribute, clients of zlib won't
      see this (unnecessary) error when building and running with
      MemorySanitizer. An alternative approach is for clients to build zlib
      with -fsanitize-ignorelist=... where the ignorelist contains something
      like 'fun:slide_hash'. But that's more work and needs to be redone
      for any and all CI systems running a given project with MSAN. Adding
      this annotation to zlib's sources is overall more convenient - but
      also won't affect non-MSAN builds.
      
      This specific issue was found while running git's test suite, but has
      also been reported by other clients, see e.g. #518.
      Andrzej Hunt committed
    • zlib: declare prototypes for new functions · b74880b9
      The `crc32_combine_gen64` missed a prototype in our define path.
      Add one.
      Edward Thomson committed
  2. 06 Jul, 2022 12 commits
  3. 18 Apr, 2022 1 commit
  4. 14 Apr, 2022 1 commit
  5. 13 Apr, 2022 1 commit
  6. 12 Apr, 2022 18 commits
  7. 26 Feb, 2022 5 commits