summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorTakuji Tanaka <ttk@t-lab.opal.ne.jp>2019-02-18 13:10:32 +0000
committerTakuji Tanaka <ttk@t-lab.opal.ne.jp>2019-02-18 13:10:32 +0000
commit4f4eb08cc8b13541f28ee374474291f1a5facf03 (patch)
tree778384f91b068cbc2c8d3986a9ee35a7b5213295 /Build
parent5190754f27103ebd9efd3bb2c5d119f8f90c8a30 (diff)
texk/dtl: expand buffer size
git-svn-id: svn://tug.org/texlive/trunk@50051 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r--Build/source/texk/dtl/ChangeLog6
-rw-r--r--Build/source/texk/dtl/dt2dv.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/Build/source/texk/dtl/ChangeLog b/Build/source/texk/dtl/ChangeLog
index 4eeab07f33f..4949abdafeb 100644
--- a/Build/source/texk/dtl/ChangeLog
+++ b/Build/source/texk/dtl/ChangeLog
@@ -1,3 +1,9 @@
+2019-02-18 TANAKA Takuji <ttk@t-lab.opal.ne.jp>
+
+ * dt2dv.c: Expand buffer size.
+ Thanks to @ngothan for a report by covscan.
+ https://github.com/TeX-Live/texlive-source/issues/11
+
2015-07-31 Peter Breitenlohner <peb@mppmu.mpg.de>
* dt2dv.c: Fixed typo in program name ("dv2dt" => "dt2dv").
diff --git a/Build/source/texk/dtl/dt2dv.c b/Build/source/texk/dtl/dt2dv.c
index 6ebd6f5c55f..bcfcdc28d37 100644
--- a/Build/source/texk/dtl/dt2dv.c
+++ b/Build/source/texk/dtl/dt2dv.c
@@ -73,7 +73,7 @@ Line dtl_line = {0, 0, 0, MAXLINE, linebuf};
/* maximum expected length of a DTL token */
#define MAXTOKLEN 255
-typedef char Token[MAXTOKLEN+1];
+typedef char Token[MAXTOKLEN+2];
typedef unsigned char Byte;
typedef char Boolean;