pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/print/dvipsk dvipsk: writet1 protection against buffer...
details: https://anonhg.NetBSD.org/pkgsrc/rev/f36eaafe2fd0
branches: trunk
changeset: 386873:f36eaafe2fd0
user: markd <markd%pkgsrc.org@localhost>
date: Thu Nov 01 10:55:57 2018 +0000
description:
dvipsk: writet1 protection against buffer overflow
diffstat:
print/dvipsk/Makefile | 3 ++-
print/dvipsk/distinfo | 3 ++-
print/dvipsk/patches/patch-texk_dvipsk_writet1.c | 18 ++++++++++++++++++
3 files changed, 22 insertions(+), 2 deletions(-)
diffs (47 lines):
diff -r f93e2940dd4f -r f36eaafe2fd0 print/dvipsk/Makefile
--- a/print/dvipsk/Makefile Thu Nov 01 09:37:28 2018 +0000
+++ b/print/dvipsk/Makefile Thu Nov 01 10:55:57 2018 +0000
@@ -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
diff -r f93e2940dd4f -r f36eaafe2fd0 print/dvipsk/distinfo
--- a/print/dvipsk/distinfo Thu Nov 01 09:37:28 2018 +0000
+++ b/print/dvipsk/distinfo Thu Nov 01 10:55:57 2018 +0000
@@ -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
diff -r f93e2940dd4f -r f36eaafe2fd0 print/dvipsk/patches/patch-texk_dvipsk_writet1.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/print/dvipsk/patches/patch-texk_dvipsk_writet1.c Thu Nov 01 10:55:57 2018 +0000
@@ -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