php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #463 unlink() doesn't honor safe_mode
Submitted: 1998-06-15 16:13 UTC Modified: 1998-06-18 17:14 UTC
From: jim at jaguNET dot com Assigned:
Status: Closed Package: Misbehaving function
PHP Version: 3.0 Final Release OS: FreeBSD
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
41 - 31 = ?
Subscribe to this entry?

 
 [1998-06-15 16:13 UTC] jim at jaguNET dot com
The code for php3_unlink checks for the "truth"
of PHP_SAFE_MODE, which is compile-time, instead
of the value of safe_mode, which is run-time. Thus,
even if someone has "set" Safe_mode, if it wasn't
compiled with it on, unlink() will not follow
safe-mode rules.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-06-18 17:14 UTC] jim
Fixed in the CVS repository.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon May 06 19:01:32 2024 UTC