]> git.ipfire.org Git - thirdparty/zstd.git/commit
[fuzz] msan uninitialized unsigned value (#1908)
authorBimba Shrestha <bimbashrestha@fb.com>
Wed, 4 Dec 2019 18:02:17 +0000 (10:02 -0800)
committerNick Terrell <terrelln@fb.com>
Wed, 4 Dec 2019 18:02:17 +0000 (10:02 -0800)
commit49c6d492479227644e60c2caa15a6334f302f6ea
tree85a6a2e085ab3ccca431229bd8fd8f10976cd4b1
parent5120883a9c29a7966bbd2144df04f6976f4c7acc
[fuzz] msan uninitialized unsigned value (#1908)

Fixes new fuzz issue

Credit to OSS-Fuzz

* Initializing unsigned value

* Initialilzing to 1 instead of 0 because its more conservative

* Unconditionoally setting to check first and then checking zero

* Moving bool to before block for c90

* Move check set before block
lib/compress/zstd_compress.c