Edit report at http://bugs.php.net/bug.php?id=53541&edit=1
ID: 53541 Updated by: il...@php.net Reported by: crrodriguez at opensuse dot org Summary: format string bug in ext/phar -Status: Open +Status: Closed Type: Bug Package: PHAR related Operating System: All PHP Version: 5.3SVN-2010-12-13 (SVN) -Assigned To: +Assigned To: iliaa Block user comment: N Private report: N New Comment: 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 http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2010-12-14 18:00:38] il...@php.net Automatic comment from SVN on behalf of iliaa Revision: http://svn.php.net/viewvc/?view=revision&revision=306367 Log: Fixed bug #53541 (format string bug in ext/phar). ------------------------------------------------------------------------ [2010-12-13 20:23:27] crrodriguez at opensuse dot org Description: ------------ Hi: 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] ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=53541&edit=1