pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/print/web2c



Module Name:    pkgsrc
Committed By:   markd
Date:           Thu Nov  1 11:02:34 UTC 2018

Modified Files:
        pkgsrc/print/web2c: Makefile distinfo
Added Files:
        pkgsrc/print/web2c/patches: patch-pdftexdir_writet1.c

Log Message:
web2c: writet1 protection against buffer overflow


To generate a diff of this commit:
cvs rdiff -u -r1.75 -r1.76 pkgsrc/print/web2c/Makefile
cvs rdiff -u -r1.27 -r1.28 pkgsrc/print/web2c/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/print/web2c/patches/patch-pdftexdir_writet1.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/print/web2c/Makefile
diff -u pkgsrc/print/web2c/Makefile:1.75 pkgsrc/print/web2c/Makefile:1.76
--- pkgsrc/print/web2c/Makefile:1.75    Sun Sep  2 21:32:44 2018
+++ pkgsrc/print/web2c/Makefile Thu Nov  1 11:02:34 2018
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.75 2018/09/02 21:32:44 wiz Exp $
+# $NetBSD: Makefile,v 1.76 2018/11/01 11:02:34 markd Exp $
 
 DISTNAME=      texlive-20180414-source
 PKGNAME=       web2c-2018
-PKGREVISION=   4
+PKGREVISION=   5
 CATEGORIES=    print
 MASTER_SITES=  ftp://tug.org/historic/systems/texlive/2018/
 EXTRACT_SUFX=  .tar.xz

Index: pkgsrc/print/web2c/distinfo
diff -u pkgsrc/print/web2c/distinfo:1.27 pkgsrc/print/web2c/distinfo:1.28
--- pkgsrc/print/web2c/distinfo:1.27    Tue May 15 06:11:45 2018
+++ pkgsrc/print/web2c/distinfo Thu Nov  1 11:02:34 2018
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.27 2018/05/15 06:11:45 minskim Exp $
+$NetBSD: distinfo,v 1.28 2018/11/01 11:02:34 markd Exp $
 
 SHA1 (texlive-20180414-source.tar.xz) = 81bdd9999b6ab860d1d3c388cf27062aba960255
 RMD160 (texlive-20180414-source.tar.xz) = 0ff63bbd7f8a0fb6417089f5d1ae1e4124a1dd95
@@ -8,3 +8,4 @@ SHA1 (patch-Makefile.in) = 28e7ad00f3796
 SHA1 (patch-am) = b7b81b1161a2117e756b25b80f9a676575267bdd
 SHA1 (patch-pdftexdir_pdftoepdf-newpoppler.cc) = 6d778c1b493d1f498c07ea49a41a9f15d3f8d570
 SHA1 (patch-pdftexdir_pdftosrc-newpoppler.cc) = 6601ac14720cc36321d3da70359218182f98915b
+SHA1 (patch-pdftexdir_writet1.c) = 7d00d5d5d3f884bc1f9946cb3fbcaa7f224df9de

Added files:

Index: pkgsrc/print/web2c/patches/patch-pdftexdir_writet1.c
diff -u /dev/null pkgsrc/print/web2c/patches/patch-pdftexdir_writet1.c:1.1
--- /dev/null   Thu Nov  1 11:02:34 2018
+++ pkgsrc/print/web2c/patches/patch-pdftexdir_writet1.c        Thu Nov  1 11:02:34 2018
@@ -0,0 +1,18 @@
+$NetBSD: patch-pdftexdir_writet1.c,v 1.1 2018/11/01 11:02:34 markd Exp $
+
+writet1 protection against buffer overflow
+
+git-svn-id: svn://tug.org/texlive/trunk/Build/source@48697 c570f23f-e606-0410-a88d-b1316a301751
+
+--- pdftexdir/writet1.c.orig   2016-11-25 18:24:37.000000000 +0000
++++ pdftexdir/writet1.c
+@@ -1598,7 +1598,9 @@ static void t1_check_unusual_charstring(
+         *(strend(t1_buf_array) - 1) = ' ';
+ 
+         t1_getline();
++      alloc_array(t1_buf, strlen(t1_line_array) + strlen(t1_buf_array) + 1, T1_BUF_SIZE);
+         strcat(t1_buf_array, t1_line_array);
++      alloc_array(t1_line, strlen(t1_buf_array) + 1, T1_BUF_SIZE);
+         strcpy(t1_line_array, t1_buf_array);
+         t1_line_ptr = eol(t1_line_array);
+     }



Home | Main Index | Thread Index | Old Index