Bound output in net_gzip_source_stream_fuzzer
Gzip has a maximum compression ratio of 1032x. While, strictly speaking, linear, this means the fuzzer will often get stuck. Stop reading at a more modest compression ratio of 10x, or 2 MiB, whichever is larger. Bug: 921075 Change-Id: I529632762b66e4fae0bbdce8ea6d746d98cc2d99 Reviewed-on: https://chromium-review.googlesource.com/c/1483873 Commit-Queue: David Benjamin <davidben@chromium.org> Auto-Submit: David Benjamin <davidben@chromium.org> Reviewed-by:Matt Menke <mmenke@chromium.org> Cr-Commit-Position: refs/heads/master@{#634852}
Showing
Please register or sign in to comment