diff options
author | delphij <delphij@FreeBSD.org> | 2009-07-31 08:37:27 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2009-07-31 08:37:27 +0000 |
commit | 1eac2402ef00de3a96ce1d9d21792a8d8bff046d (patch) | |
tree | 58ed28ec8c65eb9914930897723362252c48f61a /usr.bin/false | |
parent | f92b9dfb9805296197e783a5ec72f1734954fe5f (diff) | |
download | FreeBSD-src-1eac2402ef00de3a96ce1d9d21792a8d8bff046d.zip FreeBSD-src-1eac2402ef00de3a96ce1d9d21792a8d8bff046d.tar.gz |
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)
Diffstat (limited to 'usr.bin/false')
0 files changed, 0 insertions, 0 deletions