[Commits] clamd-plugin.c 1.1.2.12 1.1.2.13
miras at claws-mail.org
miras at claws-mail.org
Sun Dec 16 13:29:09 CET 2012
Update of /home/claws-mail/plugins/clamd/libclamd
In directory srv:/tmp/cvs-serv9358/libclamd
Modified Files:
Tag: gtk2
clamd-plugin.c
Log Message:
2012-12-16 [michael] 3.5.5cvs2
* libclamd/clamd-plugin.c
* src/clamav_plugin.c
* src/clamav_plugin_gtk.c
Fix bug 2838. Numerous changes made due to
plugin in special cases could be activated
with an incomplete configuration.
Index: clamd-plugin.c
===================================================================
RCS file: /home/claws-mail/plugins/clamd/libclamd/Attic/clamd-plugin.c,v
retrieving revision 1.1.2.12
retrieving revision 1.1.2.13
diff -u -d -r1.1.2.12 -r1.1.2.13
--- clamd-plugin.c 20 May 2011 08:55:40 -0000 1.1.2.12
+++ clamd-plugin.c 16 Dec 2012 12:29:07 -0000 1.1.2.13
@@ -307,7 +307,7 @@
return;
addr_u.sun_family = AF_UNIX;
memcpy(addr_u.sun_path, Socket->socket.path,
- sizeof(addr_u.sun_path) - 1);
+ strlen(Socket->socket.path));
if (connect(sock, (struct sockaddr *) &addr_u, sizeof(addr_u)) < 0) {
perror("connect socket");
close_socket();
More information about the Commits
mailing list