texlive[50051] Build/source/texk/dtl: texk/dtl: expand buffer size

commits+takuji at tug.org commits+takuji at tug.org
Mon Feb 18 14:10:32 CET 2019


Revision: 50051
          http://tug.org/svn/texlive?view=revision&revision=50051
Author:   takuji
Date:     2019-02-18 14:10:32 +0100 (Mon, 18 Feb 2019)
Log Message:
-----------
texk/dtl: expand buffer size

Modified Paths:
--------------
    trunk/Build/source/texk/dtl/ChangeLog
    trunk/Build/source/texk/dtl/dt2dv.c

Modified: trunk/Build/source/texk/dtl/ChangeLog
===================================================================
--- trunk/Build/source/texk/dtl/ChangeLog	2019-02-18 01:23:55 UTC (rev 50050)
+++ trunk/Build/source/texk/dtl/ChangeLog	2019-02-18 13:10:32 UTC (rev 50051)
@@ -1,3 +1,9 @@
+2019-02-18  TANAKA Takuji  <ttk at 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 at mppmu.mpg.de>
 
 	* dt2dv.c: Fixed typo in program name ("dv2dt" => "dt2dv").

Modified: trunk/Build/source/texk/dtl/dt2dv.c
===================================================================
--- trunk/Build/source/texk/dtl/dt2dv.c	2019-02-18 01:23:55 UTC (rev 50050)
+++ trunk/Build/source/texk/dtl/dt2dv.c	2019-02-18 13:10:32 UTC (rev 50051)
@@ -73,7 +73,7 @@
 
 /* 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;



More information about the tex-live-commits mailing list