diff options
author | L Peter Deutsch <lpd@ghostscript.com> | 2000-11-01 22:36:13 +0000 |
---|---|---|
committer | L Peter Deutsch <lpd@ghostscript.com> | 2000-11-01 22:36:13 +0000 |
commit | eacb10b0c024ebb6baca8f6176d4b2dcc3e61cd7 (patch) | |
tree | b5bd2ec75addd400b9524f18ac7fcd0272b46abb /gs/src/szlibd.c | |
parent | e6c20f5615250cbde2d197e069f668492b4aeac9 (diff) |
Fix: Decoding filters that didn't detect an EOD in the source data still
tried to look 1 byte ahead, occasionally causing obscure errors. The fix
unfortunately required adding a new architectural requirement to the
implementation of such filters. (fix from igor@artifex.com)
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@851 a1074d23-0009-0410-80fe-cf8c14f379e6
Diffstat (limited to 'gs/src/szlibd.c')
-rw-r--r-- | gs/src/szlibd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gs/src/szlibd.c b/gs/src/szlibd.c index ea5e3f28a..2007fa900 100644 --- a/gs/src/szlibd.c +++ b/gs/src/szlibd.c @@ -40,6 +40,7 @@ s_zlibD_init(stream_state * st) s_zlib_free_dynamic_state(ss); return ERRC; /****** WRONG ******/ } + st->min_left=1; return 0; } |