Add fuzz testing
authorNick Terrell <terrelln@fb.com>
Tue, 13 Jun 2017 21:04:08 +0000 (14:04 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Tue, 13 Jun 2017 21:06:58 +0000 (14:06 -0700)
commit626f5abbe49a6f0607ff7ab519e7b836e29c4de6
tree6102d8b150088a277d4e22a7dcbaa7638cd1f19a
parent26ca775e4e9edf6b36afff172a4d9798810f5333
Add fuzz testing

Summary: `ZSTD_decompress()` doesn't verify the uncompressed length in the frame as I thought, so throw an exception instead of `DCHECK()`.

Reviewed By: meyering

Differential Revision: D5234576

fbshipit-source-id: f72cf085a7267de32ce13553ce7ebbfe3b8a3f05
folly/io/Compression.cpp