summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipsk/dospecial.c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/dvipsk/dospecial.c')
-rw-r--r--Build/source/texk/dvipsk/dospecial.c2
1 files changed, 1 insertions, 1 deletions
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++;