aboutsummaryrefslogtreecommitdiffstats
path: root/sipe-tls-tester.c.patch
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--sipe-tls-tester.c.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/sipe-tls-tester.c.patch b/sipe-tls-tester.c.patch
new file mode 100644
index 0000000..f14344d
--- /dev/null
+++ b/sipe-tls-tester.c.patch
@@ -0,0 +1,11 @@
+--- src/core/sipe-tls-tester.c
++++ src/core/sipe-tls-tester.c.new
+@@ -155,7 +155,7 @@
+ printf("received %d bytes from server\n", result);
+ record = g_new0(struct record, 1);
+ record->length = result;
+- record->msg = g_memdup(buffer, result);
++ record->msg = g_memdup2(buffer, result);
+ length += result;
+ fragments = g_slist_append(fragments, record);
+ }