Date: Fri, 31 Jul 2009 08:37:27 +0000 (UTC) From: Xin LI <delphij@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/usr.bin/gzip gzip.c Message-ID: <200907310837.n6V8bmpP016783@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
delphij 2009-07-31 08:37:27 UTC
FreeBSD src repository
Modified files:
usr.bin/gzip gzip.c
Log:
SVN rev 195988 on 2009-07-31 08:37:27Z by delphij
Correct a stack underflow in gzip:
- Limit suffix to be no more than 30 bytes long. This matches GNU
behavior.
- Correct usage of memcpy().
Note that this commit only corrects the stack underflow issue, we
still need some other fixes to cover other edges. [1]
Reported by: Ron Jude <ronj wytheville org>
Discussed with: Matthew Green (original NetBSD gzip author),
Eygene Ryabinkin <rea-fbsd codelabs ru> [1]
Approved by: re (kib)
Revision Changes Path
1.12 +5 -1 src/usr.bin/gzip/gzip.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200907310837.n6V8bmpP016783>
