mirror of https://github.com/fltk/fltk
Apply zlib security fix.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4413 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
13cb2bc18c
commit
52960ea903
|
@ -126,7 +126,7 @@ unsigned short FAR *work;
|
|||
left -= count[len];
|
||||
if (left < 0) return -1; /* over-subscribed */
|
||||
}
|
||||
if (left > 0 && (type == CODES || (codes - count[0] != 1)))
|
||||
if (left > 0 && (type == CODES || max != 1))
|
||||
return -1; /* incomplete set */
|
||||
|
||||
/* generate offsets into symbol table for each length for sorting */
|
||||
|
|
Loading…
Reference in New Issue