diff options
Diffstat (limited to 'Build')
-rw-r--r-- | Build/source/texk/dvipsk/ChangeLog | 5 | ||||
-rw-r--r-- | Build/source/texk/dvipsk/dospecial.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/Build/source/texk/dvipsk/ChangeLog b/Build/source/texk/dvipsk/ChangeLog index f3a3fc8bb26..1ed0bf91ad3 100644 --- a/Build/source/texk/dvipsk/ChangeLog +++ b/Build/source/texk/dvipsk/ChangeLog @@ -1,3 +1,8 @@ +2019-04-05 Karl Berry <karl@tug.org> + + * dospecial.c (dospecial): off by one with PSFILESIZ. + Report from Andy Nguyen of ETH Zurich. + 2019-03-30 Karl Berry <karl@freefriends.org> * emspecial.c (bmpgraph): avoid writing after isblack diff --git a/Build/source/texk/dvipsk/dospecial.c b/Build/source/texk/dvipsk/dospecial.c index b17255fe5c2..2d46e39f379 100644 --- a/Build/source/texk/dvipsk/dospecial.c +++ b/Build/source/texk/dvipsk/dospecial.c @@ -654,7 +654,7 @@ case 'e': p += 8; while (*p && !isspace((unsigned char)*p)) { - if (psfilelen < PSFILESIZ) { + if (psfilelen < PSFILESIZ - 1) { psfile[psfilelen] = *p; psfilelen++; p++; |