]> git.ipfire.org Git - thirdparty/zlib-ng.git/commit
fix bug #184: clear out buf to avoid msan use-of-uninitialized-value
authorSebastian Pop <s.pop@samsung.com>
Wed, 15 Aug 2018 19:14:24 +0000 (14:14 -0500)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Mon, 17 Sep 2018 09:16:51 +0000 (11:16 +0200)
commitbaddc82378c6fa0d1c18651522fc1cc2662e5c50
tree9f593cae7d6b58846fe6838d43e22c422e5c6e5d
parent29b6ab42ca37b6bfae7aa8fcc4e30b2989f71ba0
fix bug #184: clear out buf to avoid msan use-of-uninitialized-value

Do not use bzero as suggested by Mika Lindqvist:
> You shouldn't use bzero() in new code as some compilers, like Visual C++,
> don't have it... New code should just use memset().
test/minigzip.c