diff options
author | drochner <drochner@pkgsrc.org> | 2008-03-20 15:58:47 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2008-03-20 15:58:47 +0000 |
commit | 1d2efa093bc7fd2f9d7030c32380c715d4d8f4b2 (patch) | |
tree | edd8e29b25330b69e54126fef0b498e01f482c37 /audio/audacity/patches/patch-am | |
parent | 99c1212a7d8ca640ffb1fcf34d9cc82d93875fff (diff) | |
download | pkgsrc-1d2efa093bc7fd2f9d7030c32380c715d4d8f4b2.tar.gz |
fix unsafe tmp file creation (CVE-2007-6061), patch from Debian/Gentoo,
bump PKGREVISION
Diffstat (limited to 'audio/audacity/patches/patch-am')
-rw-r--r-- | audio/audacity/patches/patch-am | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/audio/audacity/patches/patch-am b/audio/audacity/patches/patch-am new file mode 100644 index 00000000000..19eb2d6d5c3 --- /dev/null +++ b/audio/audacity/patches/patch-am @@ -0,0 +1,13 @@ +$NetBSD: patch-am,v 1.5 2008/03/20 15:58:47 drochner Exp $ + +--- src/AudacityApp.cpp.orig 2006-11-15 05:12:11.000000000 +0100 ++++ src/AudacityApp.cpp +@@ -391,7 +391,7 @@ bool AudacityApp::OnInit() + // * The user's .audacity-files directory in their home directory + // * The "share" and "share/doc" directories in their install path + #ifdef __WXGTK__ +- defaultTempDir.Printf("/tmp/audacity1.2-%s", wxGetUserId().c_str()); ++ defaultTempDir.Printf("%s/.audacity1.2-%s", home.c_str(), wxGetUserId().c_str()); + wxString pathVar = wxGetenv("AUDACITY_PATH"); + if (pathVar != "") + AddMultiPathsToPathList(pathVar, audacityPathList); |