pkgsrc-Changes archive

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

CVS commit: pkgsrc/print/dvipsk



Module Name:    pkgsrc
Committed By:   markd
Date:           Thu Nov  1 10:55:57 UTC 2018

Modified Files:
        pkgsrc/print/dvipsk: Makefile distinfo
Added Files:
        pkgsrc/print/dvipsk/patches: patch-texk_dvipsk_writet1.c

Log Message:
dvipsk: writet1 protection against buffer overflow


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 pkgsrc/print/dvipsk/Makefile
cvs rdiff -u -r1.16 -r1.17 pkgsrc/print/dvipsk/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/print/dvipsk/patches/patch-texk_dvipsk_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/dvipsk/Makefile
diff -u pkgsrc/print/dvipsk/Makefile:1.20 pkgsrc/print/dvipsk/Makefile:1.21
--- pkgsrc/print/dvipsk/Makefile:1.20   Sun May 13 17:19:19 2018
+++ pkgsrc/print/dvipsk/Makefile        Thu Nov  1 10:55:57 2018
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.20 2018/05/13 17:19:19 bsiegert Exp $
+# $NetBSD: Makefile,v 1.21 2018/11/01 10:55:57 markd Exp $
 
 DISTNAME=      texlive-20180414-source
 PKGNAME=       dvipsk-5.998
+PKGREVISION=   1
 CATEGORIES=    print
 MASTER_SITES=  ftp://tug.org/historic/systems/texlive/2018/
 EXTRACT_SUFX=  .tar.xz

Index: pkgsrc/print/dvipsk/distinfo
diff -u pkgsrc/print/dvipsk/distinfo:1.16 pkgsrc/print/dvipsk/distinfo:1.17
--- pkgsrc/print/dvipsk/distinfo:1.16   Sun May 13 12:31:37 2018
+++ pkgsrc/print/dvipsk/distinfo        Thu Nov  1 10:55:57 2018
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.16 2018/05/13 12:31:37 markd Exp $
+$NetBSD: distinfo,v 1.17 2018/11/01 10:55:57 markd Exp $
 
 SHA1 (texlive-20180414-source.tar.xz) = 81bdd9999b6ab860d1d3c388cf27062aba960255
 RMD160 (texlive-20180414-source.tar.xz) = 0ff63bbd7f8a0fb6417089f5d1ae1e4124a1dd95
 SHA512 (texlive-20180414-source.tar.xz) = ecac9b8203d2747be7ba7f82d68096d859fb35713276106d7049035dd3a8cfca07f8a8648982f0317b3812f8480db7326714de32f95998e3e6f73571de2aa140
 Size (texlive-20180414-source.tar.xz) = 49770944 bytes
+SHA1 (patch-texk_dvipsk_writet1.c) = dee47f8382a33c0b246163e248d42df544b315d2

Added files:

Index: pkgsrc/print/dvipsk/patches/patch-texk_dvipsk_writet1.c
diff -u /dev/null pkgsrc/print/dvipsk/patches/patch-texk_dvipsk_writet1.c:1.1
--- /dev/null   Thu Nov  1 10:55:57 2018
+++ pkgsrc/print/dvipsk/patches/patch-texk_dvipsk_writet1.c     Thu Nov  1 10:55:57 2018
@@ -0,0 +1,18 @@
+$NetBSD: patch-texk_dvipsk_writet1.c,v 1.1 2018/11/01 10:55:57 markd Exp $
+
+writet1 protection against buffer overflow
+
+git-svn-id: svn://tug.org/texlive/trunk/Build/source@48697 c570f23f-e606-0410-a88d-b1316a301751
+
+--- texk/dvipsk/writet1.c.orig 2016-11-25 18:24:26.000000000 +0000
++++ texk/dvipsk/writet1.c
+@@ -1449,7 +1449,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