diff options
Diffstat (limited to 'security/klamav/files/patch-src__klamd__scanner.c')
-rw-r--r-- | security/klamav/files/patch-src__klamd__scanner.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/security/klamav/files/patch-src__klamd__scanner.c b/security/klamav/files/patch-src__klamd__scanner.c new file mode 100644 index 000000000000..24c1360951cb --- /dev/null +++ b/security/klamav/files/patch-src__klamd__scanner.c @@ -0,0 +1,11 @@ +--- src/klamd/scanner.c.orig 2007-12-19 08:33:50.000000000 -0200 ++++ src/klamd/scanner.c 2007-12-19 08:36:04.000000000 -0200 +@@ -396,7 +396,7 @@ + + logg("*Accepted connection on port %d, fd %d\n", port, acceptd); + +- if ((tmpname = cli_gentempdesc(NULL, &tmpd)) == NULL) { ++ if (cli_gentempfd(NULL, &tmpname, &tmpd) ) { + shutdown(sockfd, 2); + close(sockfd); + close(acceptd); |