projects
/
audacity.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d2e524b
)
Sets permission rights to 700 on /var/tmp user dirs
author
Dennis Braun
<d_braun@kabelmail.de>
Wed, 26 May 2021 20:26:01 +0000
(22:26 +0200)
committer
Dennis Braun
<d_braun@kabelmail.de>
Wed, 26 May 2021 20:26:01 +0000
(22:26 +0200)
Forwarded: yes
Fixes CVE-2020-11867
Gbp-Pq: Name 0006-Fix_CVE-2020-11867.patch
src/AudacityApp.cpp
patch
|
blob
|
history
diff --git
a/src/AudacityApp.cpp
b/src/AudacityApp.cpp
index 3c29ac70dfc6c5240c9a1079bc5fede180cbb972..338db3f3b8e5508afb3974b5d15b1ddae41fa922 100644
(file)
--- a/
src/AudacityApp.cpp
+++ b/
src/AudacityApp.cpp
@@
-1695,7
+1695,7
@@
bool AudacityApp::InitTempDir()
// The permissions don't always seem to be set on
// some platforms. Hopefully this fixes it...
#ifdef __UNIX__
- chmod(OSFILENAME(temp), 07
55
);
+ chmod(OSFILENAME(temp), 07
00
);
#endif
bool bSuccess = gPrefs->Write(wxT("/Directories/TempDir"), temp) && gPrefs->Flush();