-
Olav Morken authored
The logcleaner script by default creates the output file in /tmp. Another user with access to the machine can create a symbolic link with the same name as the output file. This will make the user running the logcleaner script overwrite another file on the system. This patch fixes this by making sure that we don't open existing files. Thanks to Thijs Kinkhorst <thijs@uvt.nl> for reporting this bug. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2083 44740490-163a-0410-bde0-09ae8108e29a
Olav Morken authoredThe logcleaner script by default creates the output file in /tmp. Another user with access to the machine can create a symbolic link with the same name as the output file. This will make the user running the logcleaner script overwrite another file on the system. This patch fixes this by making sure that we don't open existing files. Thanks to Thijs Kinkhorst <thijs@uvt.nl> for reporting this bug. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2083 44740490-163a-0410-bde0-09ae8108e29a
Code owners
Assign users and groups as approvers for specific file changes. Learn more.