diff options
Diffstat (limited to 'Build/source/texk')
-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 93e09a6e6bb..4087e3c251b 100644 --- a/Build/source/texk/dvipsk/ChangeLog +++ b/Build/source/texk/dvipsk/ChangeLog @@ -1,3 +1,8 @@ +2011-10-20 Werner Fink <werner@suse.de> + + * dospecial.c (fgetboundingbox): Increase `buf' size to avoid + overrun. + 2011-10-04 Peter Breitenlohner <peb@mppmu.mpg.de> * Makefile.am (EXTRA_DIST, DISTCLEANFILES): Make sure that diff --git a/Build/source/texk/dvipsk/dospecial.c b/Build/source/texk/dvipsk/dospecial.c index 25af13c567f..9986ec83daa 100644 --- a/Build/source/texk/dvipsk/dospecial.c +++ b/Build/source/texk/dvipsk/dospecial.c @@ -112,7 +112,7 @@ static void fgetboundingbox(char *f, float *llx_p, float *lly_p, float *urx_p, float *ury_p) { FILE *fp; - char buf[BUFSIZ]; + char buf[BUFSIZ+1]; fp = search(figpath, f, READ); if (fp == 0) |