mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-26 09:07:30 +09:00
zlib: also pick up 4346a16853
This commit is contained in:
parent
be997daa6b
commit
eb6e4fbafe
2 changed files with 4 additions and 2 deletions
|
|
@ -617,7 +617,8 @@ int ZEXPORT deflatePrime (strm, bits, value)
|
||||||
|
|
||||||
if (deflateStateCheck(strm)) return Z_STREAM_ERROR;
|
if (deflateStateCheck(strm)) return Z_STREAM_ERROR;
|
||||||
s = strm->state;
|
s = strm->state;
|
||||||
if (s->sym_buf < s->pending_out + ((Buf_size + 7) >> 3))
|
if (bits < 0 || bits > 16 ||
|
||||||
|
s->sym_buf < s->pending_out + ((Buf_size + 7) >> 3))
|
||||||
return Z_BUF_ERROR;
|
return Z_BUF_ERROR;
|
||||||
do {
|
do {
|
||||||
put = Buf_size - s->bi_valid;
|
put = Buf_size - s->bi_valid;
|
||||||
|
|
|
||||||
|
|
@ -586,7 +586,8 @@ int ZEXPORT deflatePrime (strm, bits, value)
|
||||||
|
|
||||||
if (deflateStateCheck(strm)) return Z_STREAM_ERROR;
|
if (deflateStateCheck(strm)) return Z_STREAM_ERROR;
|
||||||
s = strm->state;
|
s = strm->state;
|
||||||
if (s->sym_buf < s->pending_out + ((Buf_size + 7) >> 3))
|
if (bits < 0 || bits > 16 ||
|
||||||
|
s->sym_buf < s->pending_out + ((Buf_size + 7) >> 3))
|
||||||
return Z_BUF_ERROR;
|
return Z_BUF_ERROR;
|
||||||
do {
|
do {
|
||||||
put = Buf_size - s->bi_valid;
|
put = Buf_size - s->bi_valid;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue