mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-25 08:38:39 +02:00
Fix CVE-2020-11867
This commit is contained in:
parent
95bcb08b4b
commit
8bb55b8bbf
@ -1696,7 +1696,7 @@ bool AudacityApp::InitTempDir()
|
|||||||
// The permissions don't always seem to be set on
|
// The permissions don't always seem to be set on
|
||||||
// some platforms. Hopefully this fixes it...
|
// some platforms. Hopefully this fixes it...
|
||||||
#ifdef __UNIX__
|
#ifdef __UNIX__
|
||||||
chmod(OSFILENAME(temp), 0755);
|
chmod(OSFILENAME(temp), 0700);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
TempDirectory::ResetTempDir();
|
TempDirectory::ResetTempDir();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user