1
0
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:
Dennis Braun 2020-12-08 23:35:54 +01:00 committed by Dmitry Vedenko
parent 95bcb08b4b
commit 8bb55b8bbf

View File

@ -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();