pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/packit packit: don't overflow a buffer. now runs w...
details: https://anonhg.NetBSD.org/pkgsrc/rev/37a09723e458
branches: trunk
changeset: 374596:37a09723e458
user: maya <maya%pkgsrc.org@localhost>
date: Fri Jan 26 10:52:04 2018 +0000
description:
packit: don't overflow a buffer. now runs with SSP/FORTIFY.
(this is already fixed in an alternative upstream)
++PKGREVISION
diffstat:
net/packit/Makefile | 4 ++--
net/packit/distinfo | 3 ++-
net/packit/patches/patch-src_utils.c | 15 +++++++++++++++
3 files changed, 19 insertions(+), 3 deletions(-)
diffs (46 lines):
diff -r 4e429469f8ce -r 37a09723e458 net/packit/Makefile
--- a/net/packit/Makefile Fri Jan 26 10:32:36 2018 +0000
+++ b/net/packit/Makefile Fri Jan 26 10:52:04 2018 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.9 2013/02/06 19:31:00 jperkin Exp $
+# $NetBSD: Makefile,v 1.10 2018/01/26 10:52:04 maya Exp $
DISTNAME= packit-1.0
-PKGREVISION= 3
+PKGREVISION= 4
CATEGORIES= net
MASTER_SITES= http://packit.sourceforge.net/downloads/
EXTRACT_SUFX= .tgz
diff -r 4e429469f8ce -r 37a09723e458 net/packit/distinfo
--- a/net/packit/distinfo Fri Jan 26 10:32:36 2018 +0000
+++ b/net/packit/distinfo Fri Jan 26 10:52:04 2018 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.4 2015/11/04 00:35:26 agc Exp $
+$NetBSD: distinfo,v 1.5 2018/01/26 10:52:04 maya Exp $
SHA1 (packit-1.0.tgz) = 21e1540c55879123d6bcca92c64d371b734893b1
RMD160 (packit-1.0.tgz) = 02b2ec56ccac5f8d755c0d84f1360b1cea698fce
@@ -6,3 +6,4 @@
Size (packit-1.0.tgz) = 138367 bytes
SHA1 (patch-aa) = 01dbe7c947682016aa302c9963bf227d15c39c55
SHA1 (patch-ab) = 1c3139bdd9c73435acee53bcf49278899b386a17
+SHA1 (patch-src_utils.c) = 1e361d1671c29c3cfe80d0d22aa0a426501c03e9
diff -r 4e429469f8ce -r 37a09723e458 net/packit/patches/patch-src_utils.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/packit/patches/patch-src_utils.c Fri Jan 26 10:52:04 2018 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_utils.c,v 1.1 2018/01/26 10:52:04 maya Exp $
+
+Don't overflow a buffer.
+
+--- src/utils.c.orig 2004-04-14 01:48:17.000000000 +0000
++++ src/utils.c
+@@ -137,7 +137,7 @@ print_separator(int bnl, int anl, u_int8
+ #endif
+
+ va_start(va, msgp);
+- vsnprintf(msg, 256, msgp, va);
++ vsnprintf(msg, 255, msgp, va);
+
+ msg_len = strlen(msg);
+
Home |
Main Index |
Thread Index |
Old Index