commit | 425d4cd82b3cdee276acf851d46d3eaf7662946a | [log] [tgz] |
---|---|---|
author | Chris Blume <[email protected]> | Fri Nov 03 21:34:03 2017 |
committer | Commit Bot <[email protected]> | Fri Nov 03 21:34:03 2017 |
tree | deefe3c26b9db0dbd2f2ad2225620fc638b629db | |
parent | dd5f02c21cd68130a5c9e460b2c71c68891cd303 [diff] [blame] |
Add fuzzer for zlib's deflateSetDictionary We want to cover all of zlib's external APIs. deflateSetDictionary() currently isn't covered. BUG=780926 Change-Id: Ie2da648a4d58fca0745c814b004d3859e81a85a6 Reviewed-on: https://chromium-review.googlesource.com/752070 Reviewed-by: Max Moroz <[email protected]> Reviewed-by: Adenilson Cavalcanti <[email protected]> Commit-Queue: Chris Blume <[email protected]> Cr-Commit-Position: refs/heads/master@{#513917}
diff --git a/third_party/zlib/BUILD.gn b/third_party/zlib/BUILD.gn index ea51103..31e8dc7 100644 --- a/third_party/zlib/BUILD.gn +++ b/third_party/zlib/BUILD.gn
@@ -188,6 +188,15 @@ ] } +fuzzer_test("zlib_deflate_set_dictionary_fuzzer") { + sources = [ + "contrib/tests/fuzzers/deflate_set_dictionary_fuzzer.cc", + ] + deps = [ + ":zlib", + ] +} + config("minizip_warnings") { visibility = [ ":*" ] if (is_clang) {