[Gs-cvs] cvs: ghostgum
ghostscript cvs
gs-cvs at ghostscript.com
Sat Sep 22 00:26:46 PDT 2001
CVSROOT: /cvsroot/ghostscript
Module name: gs
Changes by: ghostgum 2001/09/22 07:26:46
Modified files:
src : int.mak zfile.c ziodev.c
Log message:
Fix: Prevent memory corruption when reading %statementedit.
Allocate lineedit buffer in correct memory space.
Line being assembled is stored in a PostScript string during
callouts, so prevent zfilelineedit from reading more than
max_string_size bytes.
Allocate extra space for trailing new-line for statementedit,
rather than fiddling the string length which broke when
sreadline reallocated the string.
More information about the gs-cvs
mailing list