Date: Thu, 30 Oct 2014 07:47:05 +0000 (UTC) From: Stephen Hurd <shurd@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r371724 - in head/ports-mgmt/pkg_cleanup: . files Message-ID: <201410300747.s9U7l5TI061756@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410300747.s9U7l5TI061756>