pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/databases/gnats Deref a pointer when checking for empt...
details: https://anonhg.NetBSD.org/pkgsrc/rev/f61ec8f73083
branches: trunk
changeset: 406429:f61ec8f73083
user: joerg <joerg%pkgsrc.org@localhost>
date: Sat Dec 21 23:31:23 2019 +0000
description:
Deref a pointer when checking for empty strings. Bump revision.
diffstat:
databases/gnats/Makefile | 4 ++--
databases/gnats/distinfo | 3 ++-
databases/gnats/patches/patch-gnats_mail.c | 13 +++++++++++++
3 files changed, 17 insertions(+), 3 deletions(-)
diffs (46 lines):
diff -r 16ebca1e2c17 -r f61ec8f73083 databases/gnats/Makefile
--- a/databases/gnats/Makefile Sat Dec 21 23:30:44 2019 +0000
+++ b/databases/gnats/Makefile Sat Dec 21 23:31:23 2019 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.42 2017/09/21 09:24:51 jperkin Exp $
+# $NetBSD: Makefile,v 1.43 2019/12/21 23:31:23 joerg Exp $
DISTNAME= gnats-4.2.0
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_GNU:=gnats/}
-PKGREVISION= 2
+PKGREVISION= 3
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
HOMEPAGE= http://www.gnu.org/software/gnats/
diff -r 16ebca1e2c17 -r f61ec8f73083 databases/gnats/distinfo
--- a/databases/gnats/distinfo Sat Dec 21 23:30:44 2019 +0000
+++ b/databases/gnats/distinfo Sat Dec 21 23:31:23 2019 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.16 2015/11/03 01:56:11 agc Exp $
+$NetBSD: distinfo,v 1.17 2019/12/21 23:31:23 joerg Exp $
SHA1 (gnats-4.2.0.tar.gz) = 1f277bba896ee0941f3cd8b16788efd8f0f273cc
RMD160 (gnats-4.2.0.tar.gz) = 4dc473a242f8047bbe547f7b38a820e48a74bf90
@@ -11,3 +11,4 @@
SHA1 (patch-gnats_ds-file_rmcat.sh) = 63eee5890e09311c0d986cff081b131f2d350d11
SHA1 (patch-gnats_edit-pr.sh) = 7f7244975dd70d13714d48a14ec82ddc63cde7b3
SHA1 (patch-gnats_gnats_h) = e6838f94a8f83551efc8808c9b7ba64f5b506f29
+SHA1 (patch-gnats_mail.c) = 988c949de984013d9eb1008a870337576029fad3
diff -r 16ebca1e2c17 -r f61ec8f73083 databases/gnats/patches/patch-gnats_mail.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/gnats/patches/patch-gnats_mail.c Sat Dec 21 23:31:23 2019 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-gnats_mail.c,v 1.1 2019/12/21 23:31:23 joerg Exp $
+
+--- gnats/mail.c.orig 2019-12-21 22:24:31.365425550 +0000
++++ gnats/mail.c
+@@ -67,7 +67,7 @@ get_responsible_address (const DatabaseI
+ if (res != NULL)
+ {
+ if (res->admFields[ResponsibleAdmAlias] == NULL ||
+- res->admFields[ResponsibleAdmAlias] == '\0')
++ res->admFields[ResponsibleAdmAlias][0] == '\0')
+ {
+ if (res->admFields[ResponsibleAdmAlias] != NULL)
+ {
Home |
Main Index |
Thread Index |
Old Index