Improve unit test coverage for compression code.
commit3a073c463dbade2171a1a6ec1558bd81c0ff27f9
authorNick Mathewson <nickm@torproject.org>
Thu, 28 Sep 2017 16:20:02 +0000 (28 12:20 -0400)
committerNick Mathewson <nickm@torproject.org>
Thu, 28 Sep 2017 16:20:02 +0000 (28 12:20 -0400)
tree28d329ccf721ef02e2e7973337b94e84fc88d3f2
parent14614a592e43e2a6fcddb79c3f4ff5c8df60f380
Improve unit test coverage for compression code.

These tests try uncompressing garbage, verify that we won't
make compression bombs, and verify that we won't uncompress
compression bombs.
src/common/compress.c
src/common/compress.h
src/test/test_util.c