fix for CAN-2004-0797 zlib-1.2.x vulnerability (patch #1018094)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
6707bb9406
commit
e7baa6764f
@ -434,6 +434,9 @@ void FAR *out_desc;
|
||||
}
|
||||
}
|
||||
|
||||
if (state->mode == BAD)
|
||||
break;
|
||||
|
||||
/* build code tables */
|
||||
state->next = state->codes;
|
||||
state->lencode = (code const FAR *)(state->next);
|
||||
|
@ -861,6 +861,9 @@ int flush;
|
||||
}
|
||||
}
|
||||
|
||||
if (state->mode == BAD)
|
||||
break;
|
||||
|
||||
/* build code tables */
|
||||
state->next = state->codes;
|
||||
state->lencode = (code const FAR *)(state->next);
|
||||
|
Loading…
Reference in New Issue
Block a user