[Tickets #11756] Re: security: do not use sys_get_temp_dir()

bugs at horde.org bugs at horde.org
Mon Nov 26 15:57:46 UTC 2012


BITTE NICHT AUF DIESE NACHRICHT ANTWORTEN. NACHRICHTEN AN DIESE  
E-MAIL-ADRESSE WERDEN NICHT GELESEN.

Ticket-URL: http://bugs.horde.org/ticket/11756
------------------------------------------------------------------------------
  Ticket           | 11756
  Aktualisiert Von | enrico.scholz at sigma-chemnitz.de
  Zusammenfassung  | security: do not use sys_get_temp_dir()
  Warteschlange    | Horde Framework Packages
  Version          | Git master
  Typ              | Bug
  Status           | Not A Bug
  Priorität        | 2. Medium
  Milestone        |
  Patch            |
  Zuständige       |
------------------------------------------------------------------------------


enrico.scholz at sigma-chemnitz.de (2012-11-26 15:57) hat geschrieben:

> Configure the temp directory in horde's configuration.

How can it configured for cases like:

/usr/share/pear/Horde/Mime/Viewer/Ooo.php:            $tmpdir =  
Horde_Util::createTempDir(true);

----

     static public function createTempDir($delete = true, $temp_dir = null)
     {
         if (is_null($temp_dir)) {
             $temp_dir = sys_get_temp_dir();
         }






More information about the bugs mailing list