pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/mail/opendkim
Module Name: pkgsrc
Committed By: manu
Date: Tue Jul 30 13:49:04 UTC 2024
Modified Files:
pkgsrc/mail/opendkim: Makefile distinfo
pkgsrc/mail/opendkim/patches: patch-opendkim_opendkim.c
Log Message:
Patch update: Check for NULL pointers from dkim_mail_parse()
>From upstream https://github.com/trusteddomainproject/OpenDKIM/pull/173
To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 pkgsrc/mail/opendkim/Makefile
cvs rdiff -u -r1.26 -r1.27 pkgsrc/mail/opendkim/distinfo
cvs rdiff -u -r1.1 -r1.2 \
pkgsrc/mail/opendkim/patches/patch-opendkim_opendkim.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/mail/opendkim/Makefile
diff -u pkgsrc/mail/opendkim/Makefile:1.39 pkgsrc/mail/opendkim/Makefile:1.40
--- pkgsrc/mail/opendkim/Makefile:1.39 Tue Oct 24 22:09:48 2023
+++ pkgsrc/mail/opendkim/Makefile Tue Jul 30 13:49:04 2024
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.39 2023/10/24 22:09:48 wiz Exp $
+# $NetBSD: Makefile,v 1.40 2024/07/30 13:49:04 manu Exp $
DISTNAME= opendkim-2.10.3
-PKGREVISION= 11
+PKGREVISION= 12
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=opendkim/}
Index: pkgsrc/mail/opendkim/distinfo
diff -u pkgsrc/mail/opendkim/distinfo:1.26 pkgsrc/mail/opendkim/distinfo:1.27
--- pkgsrc/mail/opendkim/distinfo:1.26 Fri Apr 21 13:03:08 2023
+++ pkgsrc/mail/opendkim/distinfo Tue Jul 30 13:49:04 2024
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.26 2023/04/21 13:03:08 manu Exp $
+$NetBSD: distinfo,v 1.27 2024/07/30 13:49:04 manu Exp $
BLAKE2s (opendkim-2.10.3.tar.gz) = b790b2fdcffd16372460f0d686845019c85d21e3530202792c5d601801030dc7
SHA512 (opendkim-2.10.3.tar.gz) = 97923e533d072c07ae4d16a46cbed95ee799aa50f19468d8bc6d1dc534025a8616c3b4b68b5842bc899b509349a2c9a67312d574a726b048c0ea46dd4fcc45d8
@@ -7,5 +7,5 @@ SHA1 (patch-configure.ac) = c9ae182ed2c5
SHA1 (patch-libopendkim_dkim-canon.c) = 3d15386a114639f2479505bc3b12c1de67dbb18a
SHA1 (patch-opendkim_opendkim-config.h) = 26d8fc53c223cef7d7c2e8acbf9e6a085aebffaf
SHA1 (patch-opendkim_opendkim-crypto.c) = d7d08fda3dba5bf9cb834123218b1e89b78878e5
-SHA1 (patch-opendkim_opendkim.c) = 1e983a419d0b182bce371dfb24c4df959e0bbb1e
+SHA1 (patch-opendkim_opendkim.c) = 7d07f4a91137404a2a92736247836f40f0e04cd9
SHA1 (patch-opendkim_opendkim.conf.5) = d6566b01203a92f6ab7e87572043d91fa0efa63a
Index: pkgsrc/mail/opendkim/patches/patch-opendkim_opendkim.c
diff -u pkgsrc/mail/opendkim/patches/patch-opendkim_opendkim.c:1.1 pkgsrc/mail/opendkim/patches/patch-opendkim_opendkim.c:1.2
--- pkgsrc/mail/opendkim/patches/patch-opendkim_opendkim.c:1.1 Fri Apr 21 13:03:09 2023
+++ pkgsrc/mail/opendkim/patches/patch-opendkim_opendkim.c Tue Jul 30 13:49:04 2024
@@ -1,4 +1,4 @@
-$NetBSD: patch-opendkim_opendkim.c,v 1.1 2023/04/21 13:03:09 manu Exp $
+$NetBSD: patch-opendkim_opendkim.c,v 1.2 2024/07/30 13:49:04 manu Exp $
Add OmitHeadersDB directive to specify file containing per-recipient
list of headers to not use in signature. The file format is:
@@ -64,7 +64,7 @@ From upstream https://github.com/trusted
+
+ strlcpy(tmp, rcpt, sizeof(tmp));
+ status = dkim_mail_parse(tmp, &user, &domain);
-+ if (status != 0)
++ if (status != 0 || user == NULL || domain == NULL)
+ {
+ return -1;
+ }
Home |
Main Index |
Thread Index |
Old Index