From 54f13031bc18e1102ac0b0210d1951a1428b0c06 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 1 Oct 2018 07:43:08 +0200 Subject: v2.0.3 --- f8dd503c70464c6585a2b2a18d7a3457ce9241a4.patch | 33 -------------------------- 1 file changed, 33 deletions(-) delete mode 100644 f8dd503c70464c6585a2b2a18d7a3457ce9241a4.patch (limited to 'f8dd503c70464c6585a2b2a18d7a3457ce9241a4.patch') diff --git a/f8dd503c70464c6585a2b2a18d7a3457ce9241a4.patch b/f8dd503c70464c6585a2b2a18d7a3457ce9241a4.patch deleted file mode 100644 index d1da4bc..0000000 --- a/f8dd503c70464c6585a2b2a18d7a3457ce9241a4.patch +++ /dev/null @@ -1,33 +0,0 @@ -From f8dd503c70464c6585a2b2a18d7a3457ce9241a4 Mon Sep 17 00:00:00 2001 -From: "Christoph M. Becker" -Date: Sat, 24 Feb 2018 15:14:03 +0100 -Subject: [PATCH] Fix #73434: Null byte at end of array keys in - getLastResponseInfo -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -In PHP 7, the terminating NUL has to be excluded from the keys. -Otherwise, the userland developer might even accidentally overwrite the -terminating NUL … ---- - php_oauth.h | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -diff --git a/php_oauth.h b/php_oauth.h -index 02d68d8..e0ee8cd 100644 ---- a/php_oauth.h -+++ b/php_oauth.h -@@ -294,9 +294,9 @@ zend_string *oauth_generate_sig_base(php_so_object *soo, const char *http_method - smart_string_free(&(a)->curl_info); - - /* this and code that uses it is from ext/curl/interface.c */ --#define CAAL(s, v) add_assoc_long_ex(&info, s, sizeof(s), (long) v); --#define CAAD(s, v) add_assoc_double_ex(&info, s, sizeof(s), (double) v); --#define CAAS(s, v) add_assoc_string_ex(&info, s, sizeof(s), (char *) (v ? v : "")); -+#define CAAL(s, v) add_assoc_long_ex(&info, s, sizeof(s) - 1, (long) v); -+#define CAAD(s, v) add_assoc_double_ex(&info, s, sizeof(s) - 1, (double) v); -+#define CAAS(s, v) add_assoc_string_ex(&info, s, sizeof(s) - 1, (char *) (v ? v : "")); - - #define ADD_DEBUG_INFO(a, k, s, t) \ - if(s.len) { \ -- cgit