summaryrefslogtreecommitdiff
path: root/net-libs/nDPI/files/nDPI-3.2-0003-Fixed-invalid-allocation.patch
diff options
context:
space:
mode:
Diffstat (limited to 'net-libs/nDPI/files/nDPI-3.2-0003-Fixed-invalid-allocation.patch')
-rw-r--r--net-libs/nDPI/files/nDPI-3.2-0003-Fixed-invalid-allocation.patch22
1 files changed, 0 insertions, 22 deletions
diff --git a/net-libs/nDPI/files/nDPI-3.2-0003-Fixed-invalid-allocation.patch b/net-libs/nDPI/files/nDPI-3.2-0003-Fixed-invalid-allocation.patch
deleted file mode 100644
index ba8353eef98f..000000000000
--- a/net-libs/nDPI/files/nDPI-3.2-0003-Fixed-invalid-allocation.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-From cd4f8051ddfd1bae53393174462c823cf5e15ec0 Mon Sep 17 00:00:00 2001
-From: Luca Deri <deri@ntop.org>
-Date: Tue, 24 Mar 2020 13:39:12 +0100
-Subject: [PATCH] Fixed invalid allocation
-
----
- src/lib/protocols/ssh.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/lib/protocols/ssh.c b/src/lib/protocols/ssh.c
-index f3b50b60..6813b2a9 100644
---- a/src/lib/protocols/ssh.c
-+++ b/src/lib/protocols/ssh.c
-@@ -294,7 +294,7 @@ static void ndpi_search_ssh_tcp(struct ndpi_detection_module_struct *ndpi_struct
- ndpi_MD5_CTX ctx;
-
- if(msgcode == 20 /* key exchange init */) {
-- char *hassh_buf = calloc(packet->payload_packet_len, sizeof(char));
-+ char *hassh_buf = ndpi_calloc(packet->payload_packet_len, sizeof(char));
- u_int i, len;
-
- #ifdef SSH_DEBUG