helly Tue Nov 26 21:28:29 2002 EDT Modified files: /php4/ext/exif exif.c Log: -Forgot to correct length Index: php4/ext/exif/exif.c diff -u php4/ext/exif/exif.c:1.121 php4/ext/exif/exif.c:1.122 --- php4/ext/exif/exif.c:1.121 Tue Nov 26 20:46:36 2002 +++ php4/ext/exif/exif.c Tue Nov 26 21:28:29 2002 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: exif.c,v 1.121 2002/11/27 01:46:36 helly Exp $ */ +/* $Id: exif.c,v 1.122 2002/11/27 02:28:29 helly Exp $ */ /* ToDos * @@ -109,7 +109,7 @@ }; /* }}} */ -#define EXIF_VERSION "1.4 $Id: exif.c,v 1.121 2002/11/27 01:46:36 helly Exp $" +#define EXIF_VERSION "1.4 $Id: exif.c,v 1.122 2002/11/27 02:28:29 helly Exp $" /* {{{ PHP_MINFO_FUNCTION */ @@ -1806,6 +1806,7 @@ 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) {
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php