diff options
author | shurd <shurd@FreeBSD.org> | 2014-10-30 15:47:05 +0800 |
---|---|---|
committer | shurd <shurd@FreeBSD.org> | 2014-10-30 15:47:05 +0800 |
commit | 7db8d48ac7edc21e202490691a8312273b469dad (patch) | |
tree | 5d040a4c77c0bc917ee8b68e3a66077b20466b08 /ports-mgmt | |
parent | 78632db1f88a8d6f7d0c7229aefc17bf36cfd9d2 (diff) | |
download | freebsd-ports-gnome-7db8d48ac7edc21e202490691a8312273b469dad.tar.gz freebsd-ports-gnome-7db8d48ac7edc21e202490691a8312273b469dad.tar.zst freebsd-ports-gnome-7db8d48ac7edc21e202490691a8312273b469dad.zip |
Fix segfault caused by passing a string literal pointer to mkstemp()
Submitted by: Oki Sawada <oki@tamon.co.jp>
Diffstat (limited to 'ports-mgmt')
-rw-r--r-- | ports-mgmt/pkg_cleanup/Makefile | 2 | ||||
-rw-r--r-- | ports-mgmt/pkg_cleanup/files/pkg_cleanup.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ports-mgmt/pkg_cleanup/Makefile b/ports-mgmt/pkg_cleanup/Makefile index cce5c66b55bb..09294c7027d7 100644 --- a/ports-mgmt/pkg_cleanup/Makefile +++ b/ports-mgmt/pkg_cleanup/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= pkg_cleanup -PORTVERSION= 2.0 +PORTVERSION= 2.1 CATEGORIES= ports-mgmt DISTFILES= diff --git a/ports-mgmt/pkg_cleanup/files/pkg_cleanup.c b/ports-mgmt/pkg_cleanup/files/pkg_cleanup.c index 9e282719c42f..0531ab5a2008 100644 --- a/ports-mgmt/pkg_cleanup/files/pkg_cleanup.c +++ b/ports-mgmt/pkg_cleanup/files/pkg_cleanup.c @@ -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; |