svn commit: r505714 - in head/security/krb5-devel: . files
Cy Schubert
cy at FreeBSD.org
Tue Jul 2 22:51:38 UTC 2019
Author: cy
Date: Tue Jul 2 22:51:36 2019
New Revision: 505714
URL: https://svnweb.freebsd.org/changeset/ports/505714
Log:
Revert r505701 and fix "variable 'ap' is uninitialized" properly. It
is incorrectly not flagged as an error on 13-CURRENT.
Added:
head/security/krb5-devel/files/patch-tests_softpkcs11_main.c (contents, props changed)
Modified:
head/security/krb5-devel/Makefile
Modified: head/security/krb5-devel/Makefile
==============================================================================
--- head/security/krb5-devel/Makefile Tue Jul 2 22:38:54 2019 (r505713)
+++ head/security/krb5-devel/Makefile Tue Jul 2 22:51:36 2019 (r505714)
@@ -10,8 +10,6 @@ PKGNAMESUFFIX= -devel
HASH= 2063ff0
MIT_COMMIT_DATE= 2019.07.02
-BROKEN_FreeBSD_11= vsnprintf uninitialized va_list ap
-
PATCH_SITES= http://web.mit.edu/kerberos/advisories/
PATCH_DIST_STRIP= -p2
Added: head/security/krb5-devel/files/patch-tests_softpkcs11_main.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/krb5-devel/files/patch-tests_softpkcs11_main.c Tue Jul 2 22:51:36 2019 (r505714)
@@ -0,0 +1,10 @@
+--- tests/softpkcs11/main.c.orig 2019-07-01 17:36:37.000000000 -0700
++++ tests/softpkcs11/main.c 2019-07-02 14:13:26.478468000 -0700
+@@ -179,6 +179,7 @@
+ {
+ int len;
+ va_list ap;
++ va_start(ap, fmt);
+ len = vsnprintf(str, size, fmt, ap);
+ va_end(ap);
+ if (len < 0 || len > size)
More information about the svn-ports-head
mailing list