diff --git a/inflate.c b/inflate.c index 68aa4c3..82e39be 100644 --- a/inflate.c +++ b/inflate.c @@ -1490,8 +1490,8 @@ int subvert; if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR; state = (struct inflate_state FAR *)strm->state; - state->sane = !subvert; #ifdef INFLATE_ALLOW_INVALID_DISTANCE_TOOFAR_ARRR + state->sane = !subvert; return Z_OK; #else state->sane = 1;