com php-src: fix calendar segfault: ext/intl/calendar/calendar _class.cpp

From: Date: Mon, 11 Apr 2016 07:03:15 +0000
Subject: com php-src: fix calendar segfault: ext/intl/calendar/calendar _class.cpp
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-91682@lists.php.net to get a copy of this message
Commit: 028485ae696625e713f795582d4628796d9df996 Author: Joe Watkins <krakjoe@php.net> Mon, 11 Apr 2016 08:03:15 +0100 Parents: 73815573e0e483cc0f81145d53ae6308508bbd27 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=028485ae696625e713f795582d4628796d9df996 Log: fix calendar segfault Changed paths: M ext/intl/calendar/calendar_class.cpp Diff: diff --git a/ext/intl/calendar/calendar_class.cpp b/ext/intl/calendar/calendar_class.cpp index 6b6feef..72cd7e1 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);

« previous php.cvs (#91682) next »