SOURCES: klamav-clamav_092.patch (NEW) - new

adamg adamg at pld-linux.org
Tue Dec 25 01:29:08 CET 2007


Author: adamg                        Date: Tue Dec 25 00:29:08 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- new

---- Files affected:
SOURCES:
   klamav-clamav_092.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/klamav-clamav_092.patch
diff -u /dev/null SOURCES/klamav-clamav_092.patch:1.1
--- /dev/null	Tue Dec 25 01:29:08 2007
+++ SOURCES/klamav-clamav_092.patch	Tue Dec 25 01:29:02 2007
@@ -0,0 +1,22 @@
+http://www.gossamer-threads.com/lists/clamav/devel/35026?page=last
+
+--- klamav-0.41.1-source/klamav-0.41.1/src/klamd/scanner.c~	2007-07-24 21:51:51.000000000 +0200
++++ klamav-0.41.1-source/klamav-0.41.1/src/klamd/scanner.c	2007-12-25 01:04:53.676444036 +0100
+@@ -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);
+--- klamav-0.41.1-source/klamav-0.41.1/src/klamd/scanner.h~	2007-07-24 21:51:51.000000000 +0200
++++ klamav-0.41.1-source/klamav-0.41.1/src/klamd/scanner.h	2007-12-25 01:05:02.846906907 +0100
+@@ -33,4 +33,6 @@
+ 
+ int checksymlink(const char *path);
+ 
++extern int  cli_gentempfd(const char *dir, char **name, int *fd);
++
+ #endif
================================================================


More information about the pld-cvs-commit mailing list