From NetBSD revision 1.11:
authorJustin C. Sherrill <justin@leaf.dragonflybsd.org>
Wed, 24 Aug 2011 01:48:15 +0000 (18:48 -0700)
committerJustin C. Sherrill <justin@leaf.dragonflybsd.org>
Wed, 24 Aug 2011 01:48:15 +0000 (18:48 -0700)
commit1b68f394045b200b009936aa00f17e5ab66b52de
tree2c8ce5e54c607f788a3eedec5529fbda026a87d5
parentada9595606d91dd3fb77e5fc21995b0895be5fe4
From NetBSD revision 1.11:

"Do proper input validation without penalizing performance."

Suggested-by: Joerg Sonnenberger <joerg@britannica.bec.de>
usr.bin/gzip/zuncompress.c