From: Joe Watkins Date: Mon, 11 Apr 2016 07:03:15 +0000 (+0100) Subject: fix calendar segfault X-Git-Tag: php-7.0.6RC1~7 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=028485ae696625e713f795582d4628796d9df996;p=php fix calendar segfault --- diff --git a/ext/intl/calendar/calendar_class.cpp b/ext/intl/calendar/calendar_class.cpp index 6b6feef8d9..72cd7e1dd0 100644 --- a/ext/intl/calendar/calendar_class.cpp +++ b/ext/intl/calendar/calendar_class.cpp @@ -177,7 +177,7 @@ static HashTable *Calendar_get_debug_info(zval *object, int *is_temp) HashTable *debug_info_tz; timezone_object_construct(&cal->getTimeZone(), &ztz , 0); - debug_info = Z_OBJ_HANDLER(ztz, get_debug_info)(&ztz, &is_tmp); + debug_info_tz = Z_OBJ_HANDLER(ztz, get_debug_info)(&ztz, &is_tmp); assert(is_tmp == 1); array_init(&ztz_debug);