Bugzilla – Attachment 56655 Details for
Bug 132684
VUL-0: CVE-2005-3353: php EXIF DoS
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
IDP Log In
|
Forgot Password
[patch]
patch from php bugzilla
exif_IFD2.patch (text/plain), 644 bytes, created by
Ludwig Nussel
on 2005-11-08 08:34:09 UTC
(
hide
)
Description:
patch from php bugzilla
Filename:
MIME Type:
Creator:
Ludwig Nussel
Created:
2005-11-08 08:34:09 UTC
Size:
644 bytes
patch
obsolete
>--- php-4.4.0/ext/exif/exif.c 2005-10-02 06:43:32.336249013 +0000 >+++ php-4.4.0-tim/ext/exif/exif.c 2005-10-02 06:44:31.678692058 +0000 >@@ -3014,8 +3014,14 @@ > } > } > /* >- * Hack to make it process IDF1 I hope >- * There are 2 IDFs, the second one holds the keys (0x0201 and 0x0202) to the thumbnail >+ * Ignore IFD2 if it purportedly exists >+ */ >+ if (section_index == SECTION_THUMBNAIL) { >+ return TRUE; >+ } >+ /* >+ * Process IFD1 >+ * There are up to 2 IFDs, the second one holds the keys (0x0201 and 0x0202) to the thumbnail > */ > NextDirOffset = php_ifd_get32u(dir_start+2+12*de, ImageInfo->motorola_intel); > if (NextDirOffset) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
|
Diff
Attachments on
bug 132684
: 56655 |
56656
|
57642