latest github pull

This commit is contained in:
mikx
2025-03-24 23:55:55 -04:00
parent e87efbaf6e
commit 6c74f37aee
72 changed files with 2934 additions and 382 deletions

5
deps/zlib/inflate.c vendored
View File

@@ -763,9 +763,10 @@ int flush;
copy = state->length;
if (copy > have) copy = have;
if (copy) {
len = state->head->extra_len - state->length;
if (state->head != Z_NULL &&
state->head->extra != Z_NULL) {
len = state->head->extra_len - state->length;
state->head->extra != Z_NULL &&
len < state->head->extra_max) {
zmemcpy(state->head->extra + len, next,
len + copy > state->head->extra_max ?
state->head->extra_max - len : copy);