]> git.pld-linux.org Git - packages/php.git/blame - php-5.3.29-CVE-2015-0232.patch
cleanups
[packages/php.git] / php-5.3.29-CVE-2015-0232.patch
CommitLineData
9fd17760
ER
1diff -Naur php-5.3.29-original/ext/exif/exif.c php-5.3.29/ext/exif/exif.c
2--- php-5.3.29-original/ext/exif/exif.c 2015-01-25 09:16:22.648788988 +0000
3+++ php-5.3.29/ext/exif/exif.c 2015-01-25 09:18:41.496792186 +0000
4@@ -2722,7 +2722,7 @@
5 static int exif_process_unicode(image_info_type *ImageInfo, xp_field_type *xp_field, int tag, char *szValuePtr, int ByteCount TSRMLS_DC)
6 {
7 xp_field->tag = tag;
8-
9+ xp_field->value = NULL;
10 /* Copy the comment */
11 #if EXIF_USE_MBSTRING
12 /* What if MS supports big-endian with XP? */
13diff -Naur php-5.3.29-original/ext/exif/tests/bug68799.jpg php-5.3.29/ext/exif/tests/bug68799.jpg
14--- php-5.3.29-original/ext/exif/tests/bug68799.jpg 1970-01-01 00:00:00.000000000 +0000
15+++ php-5.3.29/ext/exif/tests/bug68799.jpg 2015-01-25 09:17:00.859789868 +0000
16@@ -0,0 +1,9 @@
17