Skip to content
Snippets Groups Projects
  1. Jan 04, 2018
  2. Dec 29, 2017
  3. Oct 25, 2017
  4. Jul 31, 2017
  5. Nov 06, 2015
  6. Apr 21, 2015
  7. Apr 15, 2015
  8. Jan 15, 2015
  9. Jul 09, 2014
  10. Jan 08, 2010
    • Olav Morken's avatar
      statistics:logcleaner: Fix insecure open of output file. · 32e648f9
      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
      32e648f9
  11. Mar 09, 2009
Loading