summaryrefslogtreecommitdiffstats
path: root/d9c0704548d2db0052ea8a97c53855b977c8a481.patch
diff options
context:
space:
mode:
Diffstat (limited to 'd9c0704548d2db0052ea8a97c53855b977c8a481.patch')
-rw-r--r--d9c0704548d2db0052ea8a97c53855b977c8a481.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/d9c0704548d2db0052ea8a97c53855b977c8a481.patch b/d9c0704548d2db0052ea8a97c53855b977c8a481.patch
new file mode 100644
index 0000000..97687d5
--- /dev/null
+++ b/d9c0704548d2db0052ea8a97c53855b977c8a481.patch
@@ -0,0 +1,24 @@
+From d9c0704548d2db0052ea8a97c53855b977c8a481 Mon Sep 17 00:00:00 2001
+From: Derick Rethans <github@derickrethans.nl>
+Date: Sat, 27 Jan 2018 13:45:21 +0000
+Subject: [PATCH] Fixed issue #1522: Remote debugging test failures on s390
+ (Big Endian)
+
+---
+ xdebug_handler_dbgp.c | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/xdebug_handler_dbgp.c b/xdebug_handler_dbgp.c
+index e7f945e0..2daac9cc 100644
+--- a/xdebug_handler_dbgp.c
++++ b/xdebug_handler_dbgp.c
+@@ -2034,7 +2034,8 @@ static int xdebug_dbgp_parse_cmd(char *line, char **cmd, xdebug_dbgp_arg **ret_a
+ int len = ptr - value_begin;
+
+ args->value[opt_index] = xdebug_str_create(value_begin, len);
+- xdebug_stripcslashes(args->value[opt_index]->d, (int*) &(args->value[opt_index]->l));
++ xdebug_stripcslashes(args->value[opt_index]->d, &len);
++ args->value[opt_index]->l = len;
+
+ state = STATE_SKIP_CHAR;
+ } else {