diff options
author | Mark Adler <madler@alumni.caltech.edu> | 2013-01-21 10:15:51 -0800 |
---|---|---|
committer | Mark Adler <madler@alumni.caltech.edu> | 2013-01-21 10:17:45 -0800 |
commit | 10056909c00bca2684340856ce20272f3fd8fa43 (patch) | |
tree | 75a1b8606c954ae4c483479091de21d3dfb226f3 /contrib/puff/puff.h | |
parent | b6c5057ca18b59d8c20cccac3bbbd84206fd4e83 (diff) | |
download | zlib-10056909c00bca2684340856ce20272f3fd8fa43.tar.gz zlib-10056909c00bca2684340856ce20272f3fd8fa43.tar.bz2 zlib-10056909c00bca2684340856ce20272f3fd8fa43.zip |
Check for invalid code length codes in contrib/puff.
Without this fix, it would be possible to construct inputs to puff
that would cause it to segfault.
Diffstat (limited to 'contrib/puff/puff.h')
-rw-r--r-- | contrib/puff/puff.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/puff/puff.h b/contrib/puff/puff.h index 6a0080a..e23a245 100644 --- a/contrib/puff/puff.h +++ b/contrib/puff/puff.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /* puff.h | 1 | /* puff.h |
2 | Copyright (C) 2002-2010 Mark Adler, all rights reserved | 2 | Copyright (C) 2002-2013 Mark Adler, all rights reserved |
3 | version 2.2, 25 Apr 2010 | 3 | version 2.3, 21 Jan 2013 |
4 | 4 | ||
5 | This software is provided 'as-is', without any express or implied | 5 | This software is provided 'as-is', without any express or implied |
6 | warranty. In no event will the author be held liable for any damages | 6 | warranty. In no event will the author be held liable for any damages |