From: Marcus Boerger Date: Wed, 27 Nov 2002 02:28:29 +0000 (+0000) Subject: -Forgot to correct length X-Git-Tag: RELEASE_1_0b3~279 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=57f41b1a9063c8db270db4e3395aade2626ff036;p=php -Forgot to correct length --- diff --git a/ext/exif/exif.c b/ext/exif/exif.c index c7cf62e8cd..ed09d1d47c 100644 --- a/ext/exif/exif.c +++ b/ext/exif/exif.c @@ -1806,6 +1806,7 @@ static void exif_iif_add_buffer(image_info_type *image_info, int section_index, exif_error_docref(NULL TSRMLS_CC, image_info, E_NOTICE, "Adding %s as buffer%s", name, exif_char_dump(value, length, 0)); #endif info_data->value.s = php_addslashes(value, length, &length, 0 TSRMLS_CC); + info_data->length = length; } else { info_data->value.s = emalloc(length+1); if (!info_data->value.s) {