]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - zlib/inflate.c
BUG: smash stack in addParity call. Didn't take in consideration that it adds bits...
[proxmark3-svn] / zlib / inflate.c
index 091b9a22fe87d53992535cf57fa2a2099c4fb61b..4e9c07ce5424829aebdb3eb6d9e599d57da734a7 100644 (file)
@@ -1509,8 +1509,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;
Impressum, Datenschutz