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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: jim at jaguNET dot com
New email:
PHP Version: OS:

 

 [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

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-06-18 17:14 UTC] jim
Fixed in the CVS repository.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Fri May 09 21:01:27 2025 UTC