diff options
Diffstat (limited to 'inflate.c')
-rw-r--r-- | inflate.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -861,6 +861,9 @@ int flush; | |||
861 | } | 861 | } |
862 | } | 862 | } |
863 | 863 | ||
864 | /* handle error breaks in while */ | ||
865 | if (state->mode == BAD) break; | ||
866 | |||
864 | /* build code tables */ | 867 | /* build code tables */ |
865 | state->next = state->codes; | 868 | state->next = state->codes; |
866 | state->lencode = (code const FAR *)(state->next); | 869 | state->lencode = (code const FAR *)(state->next); |