]> granicus.if.org Git - php/commitdiff
-Forgot to correct length
authorMarcus Boerger <helly@php.net>
Wed, 27 Nov 2002 02:28:29 +0000 (02:28 +0000)
committerMarcus Boerger <helly@php.net>
Wed, 27 Nov 2002 02:28:29 +0000 (02:28 +0000)
ext/exif/exif.c

index c7cf62e8cd2d8b51da69a3a6895d43f8c3f1f637..ed09d1d47c48302fab7bbd4b48300e3ceb705536 100644 (file)
@@ -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) {