mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-02 08:39:46 +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
|
||||
// some platforms. Hopefully this fixes it...
|
||||
#ifdef __UNIX__
|
||||
chmod(OSFILENAME(temp), 0755);
|
||||
chmod(OSFILENAME(temp), 0700);
|
||||
#endif
|
||||
|
||||
TempDirectory::ResetTempDir();
|
||||
|
Loading…
x
Reference in New Issue
Block a user