blob: e54389c0a1c181a37b540773fff030f24e8f7d33 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
r24346 | karl | 2011-10-20 23:50:28 +0000 (Thu, 20 Oct 2011) | 1 line
branch2011: import buffer overrun fix from trunk r24337
Index: Build/source/texk/dvipsk/dospecial.c
===================================================================
--- Build/source/texk/dvipsk/dospecial.c (revision 24345)
+++ Build/source/texk/dvipsk/dospecial.c (revision 24346)
@@ -112,7 +112,7 @@
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)
|