svn commit: r371724 - in head/ports-mgmt/pkg_cleanup: . files
Stephen Hurd
shurd at FreeBSD.org
Thu Oct 30 07:47:06 UTC 2014
Author: shurd
Date: Thu Oct 30 07:47:05 2014
New Revision: 371724
URL: https://svnweb.freebsd.org/changeset/ports/371724
QAT: https://qat.redports.org/buildarchive/r371724/
Log:
Fix segfault caused by passing a string literal pointer to mkstemp()
Submitted by: Oki Sawada <oki at tamon.co.jp>
Modified:
head/ports-mgmt/pkg_cleanup/Makefile
head/ports-mgmt/pkg_cleanup/files/pkg_cleanup.c
Modified: head/ports-mgmt/pkg_cleanup/Makefile
==============================================================================
--- head/ports-mgmt/pkg_cleanup/Makefile Thu Oct 30 07:08:42 2014 (r371723)
+++ head/ports-mgmt/pkg_cleanup/Makefile Thu Oct 30 07:47:05 2014 (r371724)
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= pkg_cleanup
-PORTVERSION= 2.0
+PORTVERSION= 2.1
CATEGORIES= ports-mgmt
DISTFILES=
Modified: head/ports-mgmt/pkg_cleanup/files/pkg_cleanup.c
==============================================================================
--- head/ports-mgmt/pkg_cleanup/files/pkg_cleanup.c Thu Oct 30 07:08:42 2014 (r371723)
+++ head/ports-mgmt/pkg_cleanup/files/pkg_cleanup.c Thu Oct 30 07:47:05 2014 (r371724)
@@ -28,7 +28,7 @@ static char **pathv;
static bool uses_pkg;
static int menulen=0;
static int helpfile=-1;
-static char *helpfname="/tmp/pkgcleanup.XXXX";
+static char helpfname[]="/tmp/pkgcleanup.XXXX";
#ifdef OLD_DIALOG
typedef dialogMenuItem ListItem;
More information about the svn-ports-all
mailing list