diff options
Diffstat (limited to 'Build/source/texk/dvipdfmx/src/t1_load.c')
-rw-r--r-- | Build/source/texk/dvipdfmx/src/t1_load.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Build/source/texk/dvipdfmx/src/t1_load.c b/Build/source/texk/dvipdfmx/src/t1_load.c index 6395278e57a..422885a782a 100644 --- a/Build/source/texk/dvipdfmx/src/t1_load.c +++ b/Build/source/texk/dvipdfmx/src/t1_load.c @@ -1,4 +1,4 @@ -/* $Header: /home/cvsroot/dvipdfmx/src/t1_load.c,v 1.10 2006/12/06 12:52:43 chofchof Exp $ +/* $Header: /home/cvsroot/dvipdfmx/src/t1_load.c,v 1.11 2008/01/11 18:04:15 matthias Exp $ This is dvipdfmx, an eXtended version of dvipdfm by Mark A. Wicks. @@ -1064,6 +1064,9 @@ get_pfb_segment (FILE *fp, int expected_type, long *length) ERROR("PFB segment length zero?"); } + buffer = RENEW(buffer, bytesread+1, unsigned char); + buffer[bytesread] = 0; + if (length) *length = bytesread; return buffer; |