components/php-5_3/php-sapi/patches/340_php_20433657.patch
author Craig Mohrman <craig.mohrman@oracle.com>
Wed, 17 Jun 2015 15:47:38 -0700
branchs11-update
changeset 4499 4e8085696007
permissions -rw-r--r--
20192108 problem in UTILITY/PHP 20231115 problem in UTILITY/PHP 20936509 problem in UTILITY/PHP 20804024 problem in UTILITY/PHP 20804061 problem in UTILITY/PHP 20804135 problem in UTILITY/PHP 20804363 problem in UTILITY/PHP 20804424 problem in UTILITY/PHP 20433657 problem in UTILITY/PHP 20803998 problem in UTILITY/PHP 20804391 problem in UTILITY/PHP

CVE-2015-0232
Community BUG:
https://bugs.php.net/bug.php?id=68799
Community CODE:
http://git.php.net/?p=php-src.git;a=commit;h=55001de6d8c6ed2aada870a76de1e4b4558737bf 
This patch was created from the community reports above.


--- php-5.3.29/ext/exif/exif.c_orig	2015-06-14 15:28:49.975351692 -0700
+++ php-5.3.29/ext/exif/exif.c	2015-06-14 15:29:28.860406969 -0700
@@ -2722,7 +2722,7 @@
 static int exif_process_unicode(image_info_type *ImageInfo, xp_field_type *xp_field, int tag, char *szValuePtr, int ByteCount TSRMLS_DC)
 {
 	xp_field->tag = tag;	
-
+	xp_field->value = NULL;
 	/* Copy the comment */
 #if EXIF_USE_MBSTRING
 /*  What if MS supports big-endian with XP? */