gzip - Fix stack underflow, exit on path too long
authorMatthew Dillon <dillon@apollo.backplane.com>
Tue, 4 Aug 2009 20:16:22 +0000 (13:16 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Tue, 4 Aug 2009 20:16:22 +0000 (13:16 -0700)
commit391d9d98e32504078f9c955a91747ac103357977
tree1e4bd96b0a897368eb8bde010b35cfc97a9987ad
parent726e0641c0c7d3949cec85b5b0a5bcd63d14648c
gzip - Fix stack underflow, exit on path too long

* Fix a stack underflow issue (from Xin LI <delphij@delphij.net>)

* errx if the path is too long for gzip to properly add or remove a suffix,
  instead of truncating the path.
usr.bin/gzip/gzip.c