summaryrefslogtreecommitdiffstats
path: root/f8dd503c70464c6585a2b2a18d7a3457ce9241a4.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-10-01 07:43:08 +0200
committerRemi Collet <remi@remirepo.net>2018-10-01 07:43:08 +0200
commit54f13031bc18e1102ac0b0210d1951a1428b0c06 (patch)
tree93a608986cdf81e4dd1d293b700d740f9dd05d6f /f8dd503c70464c6585a2b2a18d7a3457ce9241a4.patch
parent3e86ffd5bafebf84a07d75df1071ff94afd37bd9 (diff)
v2.0.3
Diffstat (limited to 'f8dd503c70464c6585a2b2a18d7a3457ce9241a4.patch')
-rw-r--r--f8dd503c70464c6585a2b2a18d7a3457ce9241a4.patch33
1 files changed, 0 insertions, 33 deletions
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" <cmbecker69@gmx.de>
-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) { \