php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #35843 imagettftext don't check open_basedir and safe_mode
Submitted: 2005-12-29 19:55 UTC Modified: 2006-01-07 01:00 UTC
From: vmlinuz386 at yahoo dot com dot ar Assigned:
Status: No Feedback Package: Feature/Change Request
PHP Version: 5.1.1, 4.4.1 OS: GNU/Linux
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: vmlinuz386 at yahoo dot com dot ar
New email:
PHP Version: OS:

 

 [2005-12-29 19:55 UTC] vmlinuz386 at yahoo dot com dot ar
Description:
------------
In file ext/gd/gdttf.c this call to freetype without any check open_basedir and safe_mode:
        if ((err = TT_Open_Face(*b->engine, a->fontname, &a->face))) {

this is also in 5.1.1

If you need a font in your scripts the font will be in some directory asigned for you.



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-12-30 10:42 UTC] tony2001@php.net
I don't see any harm in this particular case: you can't get the file contents or change it.
And in this same time this makes possible to use system fonts.
 [2006-01-07 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Apr 29 18:01:30 2024 UTC