summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
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;