[wp-trac] [WordPress Trac] #16106: Error reading EXIF data from uploaded image

WordPress Trac wp-trac at lists.automattic.com
Wed Jan 5 12:09:50 UTC 2011


#16106: Error reading EXIF data from uploaded image
--------------------------+-----------------------------
 Reporter:  4D4M          |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Media         |    Version:  3.0.4
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 When the user uploads an image file with EXIF data, that data is saved to
 the database. exif_read_data() reads the EXIF headers from a JPEG or TIFF
 image file. This way you can read meta data generated by digital cameras.

 In this case the EXIF 'ISOSpeedRatings' key had an array for a value, but
 a string was expected. So the subsequent trim() call failed.

 Patch attached.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16106>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list