diff options
Diffstat (limited to 'inflate.c')
-rw-r--r-- | inflate.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1490,8 +1490,8 @@ int subvert; | |||
1490 | 1490 | ||
1491 | if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR; | 1491 | if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR; |
1492 | state = (struct inflate_state FAR *)strm->state; | 1492 | state = (struct inflate_state FAR *)strm->state; |
1493 | state->sane = !subvert; | ||
1494 | #ifdef INFLATE_ALLOW_INVALID_DISTANCE_TOOFAR_ARRR | 1493 | #ifdef INFLATE_ALLOW_INVALID_DISTANCE_TOOFAR_ARRR |
1494 | state->sane = !subvert; | ||
1495 | return Z_OK; | 1495 | return Z_OK; |
1496 | #else | 1496 | #else |
1497 | state->sane = 1; | 1497 | state->sane = 1; |