Skip to content

Commit

Permalink
Fixed bug #54121 (error message format string typo).
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilia Alshanetsky committed Apr 12, 2011
1 parent 047ed8d commit 0e80f26
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ PHP NEWS
- DBA extension:
. Fixed bug #54242 (dba_insert returns true if key already exists). (Felipe)

- Exif extesion:
. Fixed bug #54121 (error message format string typo). (Ilia)

- Filter extension:
. Fixed bug #53037 (FILTER_FLAG_EMPTY_STRING_NULL is not implemented). (Ilia)

Expand Down
2 changes: 1 addition & 1 deletion ext/exif/exif.c
Original file line number Diff line number Diff line change
Expand Up @@ -2909,7 +2909,7 @@ static int exif_process_IFD_TAG(image_info_type *ImageInfo, char *dir_entry, cha
fgot = php_stream_tell(ImageInfo->infile);
if (fgot!=offset_val) {
EFREE_IF(outside);
exif_error_docref(NULL EXIFERR_CC, ImageInfo, E_WARNING, "Wrong file pointer: 0x%08X != 0x08X", fgot, offset_val);
exif_error_docref(NULL EXIFERR_CC, ImageInfo, E_WARNING, "Wrong file pointer: 0x%08X != 0x%08X", fgot, offset_val);
return FALSE;
}
fgot = php_stream_read(ImageInfo->infile, value_ptr, byte_count);
Expand Down

0 comments on commit 0e80f26

Please sign in to comment.