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.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/* puff.h
|
||||
Copyright (C) 2002-2010 Mark Adler, all rights reserved
|
||||
version 2.2, 25 Apr 2010
|
||||
Copyright (C) 2002-2013 Mark Adler, all rights reserved
|
||||
version 2.3, 21 Jan 2013
|
||||
|
||||
This software is provided 'as-is', without any express or implied
|
||||
warranty. In no event will the author be held liable for any damages
|
||||
|
||||
Reference in New Issue
Block a user