texlive[68292] Build/source/texk/web2c/mplibdir: metapost: Avoid a
commits+takuji at tug.org
commits+takuji at tug.org
Sat Sep 16 02:12:33 CEST 2023
Revision: 68292
http://tug.org/svn/texlive?view=revision&revision=68292
Author: takuji
Date: 2023-09-16 02:12:33 +0200 (Sat, 16 Sep 2023)
Log Message:
-----------
metapost: Avoid a buffer overflow
Modified Paths:
--------------
trunk/Build/source/texk/web2c/mplibdir/ChangeLog
trunk/Build/source/texk/web2c/mplibdir/mp.w
Modified: trunk/Build/source/texk/web2c/mplibdir/ChangeLog
===================================================================
--- trunk/Build/source/texk/web2c/mplibdir/ChangeLog 2023-09-15 23:42:51 UTC (rev 68291)
+++ trunk/Build/source/texk/web2c/mplibdir/ChangeLog 2023-09-16 00:12:33 UTC (rev 68292)
@@ -1,3 +1,7 @@
+2023-09-16 TANAKA Takuji <ttk at t-lab.opal.ne.jp>
+
+ * mp.w: Fixed a buffer overflow.
+
2023-09-10 TANAKA Takuji <ttk at t-lab.opal.ne.jp>
* decContext.{c,h}, decNumber.{c,h}, decNumberLocal.h:
Modified: trunk/Build/source/texk/web2c/mplibdir/mp.w
===================================================================
--- trunk/Build/source/texk/web2c/mplibdir/mp.w 2023-09-15 23:42:51 UTC (rev 68291)
+++ trunk/Build/source/texk/web2c/mplibdir/mp.w 2023-09-16 00:12:33 UTC (rev 68292)
@@ -34815,7 +34815,7 @@
@<Use |c| to compute the file extension |s|@>=
{
- s = xmalloc (13, 1);
+ s = xmalloc (14, 1);
mp_snprintf (s, 13, ".%i", (int) c);
s[13]='\0';
}
More information about the tex-live-commits
mailing list.