php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #54121 php: exif error message format string typo
Submitted: 2011-02-28 17:04 UTC Modified: 2011-04-12 20:33 UTC
Votes:1
Avg. Score:1.0 ± 0.0
Reproduced:0 of 1 (0.0%)
From: thoger at redhat dot com Assigned: iliaa (profile)
Status: Closed Package: EXIF related
PHP Version: 5.3.5 OS:
Private report: No CVE-ID: None
 [2011-02-28 17:04 UTC] thoger at redhat dot com
Description:
------------
Reading the exif.c I noticed the following typo:

exif_error_docref(NULL EXIFERR_CC, ImageInfo, E_WARNING, "Wrong file pointer: 0x%08X != 0x08X", fgot, offset_val);

http://svn.php.net/viewvc/php/php-src/trunk/ext/exif/exif.c?revision=308362&view=markup#l2908

It seems the format string is supposed to say "0x%08X != 0x%08X" rather than "0x%08X != 0x08X".


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-04-12 20:33 UTC] iliaa@php.net
Automatic comment from SVN on behalf of iliaa
Revision: http://svn.php.net/viewvc/?view=revision&revision=310167
Log: Fixed bug #54121 (error message format string typo).
 [2011-04-12 20:33 UTC] iliaa@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: iliaa
 [2011-04-12 20:33 UTC] iliaa@php.net
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.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Nov 21 09:01:32 2024 UTC