diff options
author | Michael Mair-Keimberger (asterix) <m.mairkeimberger@gmail.com> | 2017-01-17 18:52:54 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2017-01-18 10:19:26 +0100 |
commit | 3f20939cd320df1b0fc9aa8a3be92e3cc52ad01f (patch) | |
tree | bf9cb376e2d3abce68c64d81adc83bdf774df61e /net-proxy | |
parent | net-proxy/c-icap: remove unused patches (diff) | |
download | gentoo-3f20939cd320df1b0fc9aa8a3be92e3cc52ad01f.tar.gz gentoo-3f20939cd320df1b0fc9aa8a3be92e3cc52ad01f.tar.bz2 gentoo-3f20939cd320df1b0fc9aa8a3be92e3cc52ad01f.zip |
net-proxy/squidclamav: remove unused patch
Closes: https://github.com/gentoo/gentoo/pull/3516
Diffstat (limited to 'net-proxy')
-rw-r--r-- | net-proxy/squidclamav/files/squidclamav-6.1-crash.patch | 19 |
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) { |