php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #63641 imagepng and other save functions ignore streams
Submitted: 2012-11-28 23:11 UTC Modified: 2012-11-28 23:24 UTC
From: stas@php.net Assigned: pajoye (profile)
Status: Closed Package: GD related
PHP Version: 5.4.9 OS: *
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 this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: stas@php.net
New email:
PHP Version: OS:

 

 [2012-11-28 23:11 UTC] stas@php.net
Description:
------------
imagepng() and other functions that call _php_image_output() ignore PHP streams 
and instead call directly VCWD_FOPEN. This means that no streams work with these 
functions, and no handler that works within stream system works with this 
functions. Since most of the streams can be represented as FILE*, there's no 
reason not to use proper streams API instead of fopen. 


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-11-28 23:12 UTC] stas@php.net
-Assigned To: +Assigned To: pajoye
 [2012-11-28 23:24 UTC] stas@php.net
-Status: Assigned +Status: Closed
 [2012-11-28 23:24 UTC] stas@php.net
oops, my fault, it was 5.3 build, not 5.4. 5.4 works fine. Sorry for the noise.
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Mon Jul 04 16:03:34 2022 UTC