Fix CVE-2014-0012
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Add checks for the per-user temporary directory. If it already exists, make sure that it: - is owned by the current user - is directory - has expected permissions This commit also fixes: - nt -> n typo pointed out in the review of acb672b - replace 448 with stat.S_IRWXU when setting directory mode
authored by Tomas Hoger · committed by Armin Ronacher · parent 5662125 · Browse files · 1 file+10 added−3 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Trailers
- Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
Diff stats
1 file+10 added−3 removed
- other:+10 added−3 removed