ID:               32986
 Updated by:       [EMAIL PROTECTED]
 Reported By:      avarab at gmail dot com
-Status:           Open
+Status:           Closed
 Bug Type:         Documentation problem
 Operating System: GNU/Linux
 PHP Version:      Irrelevant
 New Comment:

This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation
better.




Previous Comments:
------------------------------------------------------------------------

[2005-05-09 16:43:19] avarab at gmail dot com

Description:
------------
The documentation for exif_read_data() at
http://www.php.net/exif_read_data doesn't state whether or not the
function validates Exif data before returning it, my guess is not but
it should be explicitly stated.

Validation of Exif data would be to check if the contents of a given
tag conform to the value it's supposed to hold according to the Exif
specification ( see: http://exif.org/Exif2-2.PDF , page 20), for
example a tag which should hold a BYTE (according to the spec) should
not hold anything besides an 8bit integer, short should not be anything
besides a 16 bit unsigned integer and so on.

I'm not suggesting that exif_read_data() does this (if it doesn't) but
merely that the documentation be updated to state whether or not it
does.



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=32986&edit=1

Reply via email to