pkgsrc-Changes-HG archive

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

[pkgsrc/pkgsrc-2017Q4]: pkgsrc/net/packit Pullup ticket #5690 - requested by ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/926f86be5ff3
branches:  pkgsrc-2017Q4
changeset: 373124:926f86be5ff3
user:      bsiegert <bsiegert%pkgsrc.org@localhost>
date:      Sun Jan 28 11:12:35 2018 +0000

description:
Pullup ticket #5690 - requested by maya
net/packit: bugfix

Revisions pulled up:
- net/packit/Makefile                                           1.10
- net/packit/distinfo                                           1.5
- net/packit/patches/patch-src_utils.c                          1.1

---
   Module Name: pkgsrc
   Committed By:        maya
   Date:                Fri Jan 26 10:52:04 UTC 2018

   Modified Files:
        pkgsrc/net/packit: Makefile distinfo
   Added Files:
        pkgsrc/net/packit/patches: patch-src_utils.c

   Log Message:
   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 e0246ba7b337 -r 926f86be5ff3 net/packit/Makefile
--- a/net/packit/Makefile       Wed Jan 24 19:43:34 2018 +0000
+++ b/net/packit/Makefile       Sun Jan 28 11:12:35 2018 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.9 2013/02/06 19:31:00 jperkin Exp $
+# $NetBSD: Makefile,v 1.9.42.1 2018/01/28 11:12:35 bsiegert Exp $
 
 DISTNAME=      packit-1.0
-PKGREVISION=   3
+PKGREVISION=   4
 CATEGORIES=    net
 MASTER_SITES=  http://packit.sourceforge.net/downloads/
 EXTRACT_SUFX=  .tgz
diff -r e0246ba7b337 -r 926f86be5ff3 net/packit/distinfo
--- a/net/packit/distinfo       Wed Jan 24 19:43:34 2018 +0000
+++ b/net/packit/distinfo       Sun Jan 28 11:12:35 2018 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.4 2015/11/04 00:35:26 agc Exp $
+$NetBSD: distinfo,v 1.4.20.1 2018/01/28 11:12:35 bsiegert 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 e0246ba7b337 -r 926f86be5ff3 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      Sun Jan 28 11:12:35 2018 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_utils.c,v 1.1.2.2 2018/01/28 11:12:35 bsiegert 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