summaryrefslogtreecommitdiff
path: root/lang/php53/files/patch-CVE-2015-0273
diff options
context:
space:
mode:
Diffstat (limited to 'lang/php53/files/patch-CVE-2015-0273')
-rw-r--r--lang/php53/files/patch-CVE-2015-027318
1 files changed, 0 insertions, 18 deletions
diff --git a/lang/php53/files/patch-CVE-2015-0273 b/lang/php53/files/patch-CVE-2015-0273
deleted file mode 100644
index d707ca3c2b0d..000000000000
--- a/lang/php53/files/patch-CVE-2015-0273
+++ /dev/null
@@ -1,18 +0,0 @@
---- ext/date/php_date.c.orig 2015-03-21 18:31:58.092700000 +0100
-+++ ext/date/php_date.c 2015-03-21 18:33:51.148505000 +0100
-@@ -2573,12 +2573,9 @@
- timelib_tzinfo *tzi;
- php_timezone_obj *tzobj;
-
-- if (zend_hash_find(myht, "date", 5, (void**) &z_date) == SUCCESS) {
-- convert_to_string(*z_date);
-- if (zend_hash_find(myht, "timezone_type", 14, (void**) &z_timezone_type) == SUCCESS) {
-- convert_to_long(*z_timezone_type);
-- if (zend_hash_find(myht, "timezone", 9, (void**) &z_timezone) == SUCCESS) {
-- convert_to_string(*z_timezone);
-+ if (zend_hash_find(myht, "date", 5, (void**) &z_date) == SUCCESS && Z_TYPE_PP(z_date) == IS_STRING) {
-+ if (zend_hash_find(myht, "timezone_type", 14, (void**) &z_timezone_type) == SUCCESS && Z_TYPE_PP(z_timezone_type) == IS_LONG) {
-+ if (zend_hash_find(myht, "timezone", 9, (void**) &z_timezone) == SUCCESS && Z_TYPE_PP(z_timezone) == IS_STRING) {
-
- switch (Z_LVAL_PP(z_timezone_type)) {
- case TIMELIB_ZONETYPE_OFFSET: