Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Jul 2019 22:51:37 +0000 (UTC)
From:      Cy Schubert <cy@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r505714 - in head/security/krb5-devel: . files
Message-ID:  <201907022251.x62MpbWi011888@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201907022251.x62MpbWi011888>