summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-proxy')
-rw-r--r--net-proxy/squidclamav/files/squidclamav-6.1-crash.patch19
1 files changed, 0 insertions, 19 deletions
diff --git a/net-proxy/squidclamav/files/squidclamav-6.1-crash.patch b/net-proxy/squidclamav/files/squidclamav-6.1-crash.patch
deleted file mode 100644
index f197aac6618c..000000000000
--- a/net-proxy/squidclamav/files/squidclamav-6.1-crash.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-Index: squidclamav-6.1/src/squidclamav.c
-===================================================================
---- squidclamav-6.1.orig/src/squidclamav.c
-+++ squidclamav-6.1/src/squidclamav.c
-@@ -427,8 +427,12 @@ int squidclamav_check_preview_handler(ch
- } else {
- data->user = NULL;
- }
-- data->clientip = ci_buffer_alloc(strlen(clientip)+1);
-- strcpy(data->clientip, clientip);
-+ if (clientip != NULL) {
-+ data->clientip = ci_buffer_alloc(strlen(clientip)+1);
-+ strcpy(data->clientip, clientip);
-+ } else {
-+ data->clientip = NULL;
-+ }
-
- data->body = ci_simple_file_new(MAX_OBJECT_SIZE);
- if (SEND_PERCENT_BYTES >= 0 && START_SEND_AFTER == 0) {