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
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

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: Tue Mar 19 07:01:29 2024 UTC