diff options
Diffstat (limited to 'app-antivirus/clamav/files/clamav-0.85.1-cvd-dir-traversal-fix.patch')
-rw-r--r-- | app-antivirus/clamav/files/clamav-0.85.1-cvd-dir-traversal-fix.patch | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/app-antivirus/clamav/files/clamav-0.85.1-cvd-dir-traversal-fix.patch b/app-antivirus/clamav/files/clamav-0.85.1-cvd-dir-traversal-fix.patch deleted file mode 100644 index fd4c1ed26490..000000000000 --- a/app-antivirus/clamav/files/clamav-0.85.1-cvd-dir-traversal-fix.patch +++ /dev/null @@ -1,18 +0,0 @@ -diff -bur clamav-0.85.1/libclamav/cvd.c clamav-0.85.1-fixed/libclamav/cvd.c ---- clamav-0.85.1/libclamav/cvd.c 2005-05-11 03:43:10.000000000 +0200 -+++ clamav-0.85.1-fixed/libclamav/cvd.c 2005-06-13 20:07:34.000000000 +0200 -@@ -77,6 +77,14 @@ - - strncpy(name, block, 100); - name[100] = '\0'; -+ -+ if(strchr(name, '/')) { -+ cli_errmsg("Slash separators are not allowed in CVD.\n"); -+ free(fullname); -+ gzclose(infile); -+ return -1; -+ } -+ - strcpy(fullname, destdir); - strcat(fullname, "/"); - strcat(fullname, name); |