|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #53541 format string bug in ext/phar
Submitted: 2010-12-13 20:23 UTC Modified: 2010-12-14 18:00 UTC
From: crrodriguez at opensuse dot org Assigned: iliaa (profile)
Status: Closed Package: PHAR related
PHP Version: 5.3SVN-2010-12-13 (SVN) OS: All
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.
Block user comment
Status: Assign to:
Bug Type:
From: crrodriguez at opensuse dot org
New email:
PHP Version: OS:


 [2010-12-13 20:23 UTC] crrodriguez at opensuse dot org

There is a format string bug in ext/phar/stream.c

Test script:

Expected result:
no warnings, actually the underlying issue is that prototypes of  
php_stream_wrapper_log_error are missing PHP_ATTRIBUTE_FORMAT so warnings are 
shown where needed.

Actual result:
ext/phar/stream.c:253:5: warning: format ‘%s’ expects a matching ‘char *’ 
argument [-Wformat]


format-string-bug (last revision 2010-12-13 19:25 UTC by crrodriguez at opensuse dot org)

Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2010-12-14 18:00 UTC]
Automatic comment from SVN on behalf of iliaa
Log: Fixed bug #53541 (format string bug in ext/phar).
 [2010-12-14 18:00 UTC]
-Status: Open +Status: Closed -Assigned To: +Assigned To: iliaa
 [2010-12-14 18:00 UTC]
This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
Thank you for the report, and for helping us make PHP better.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Jun 23 03:01:28 2024 UTC