#32986 [Opn->Csd]: The documentation for exif_read_data() doesn't say if it validates tags
| From: | mazzanet@php.net | Date: | Tue, 07 Jun 2005 11:50:31 +0000 |
| Subject: | #32986 [Opn->Csd]: The documentation for exif_read_data() doesn't say if it validates tags | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969368486@lists.php.net to get a copy of this message | ||
ID: 32986
Updated by: mazzanet@php.net
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