Bug 2434 - Crash in clamd_create_config_automatic at clamd-plugin.c:213
Summary: Crash in clamd_create_config_automatic at clamd-plugin.c:213
Status: RESOLVED FIXED
Alias: None
Product: Claws Mail (GTK 2)
Classification: Unclassified
Component: Plugins/ClamAV (show other bugs)
Version: 3.7.9
Hardware: PC Linux
: P3 normal
Assignee: users
URL: https://bugzilla.redhat.com/show_bug....
Depends on:
Blocks:
 
Reported: 2011-05-20 10:31 UTC by Michael Schwendt
Modified: 2011-05-20 13:12 UTC (History)
1 user (show)

See Also:


Attachments

Description Michael Schwendt 2011-05-20 10:31:29 UTC
http://bugzilla.redhat.com/706322
Backtrace: http://bugzilla.redhat.com/attachment.cgi?id=499998

--- clamd-plugin.c~	2010-10-10 09:25:16.000000000 +0200
+++ clamd-plugin.c	2011-05-20 10:24:37.871542717 +0200
@@ -210,7 +210,7 @@
 		}
 	}
 	fclose(conf);
-	if (! Socket && (Socket->socket.port || Socket->socket.path)) {
+	if (! (Socket && (Socket->socket.port || Socket->socket.path))) {
 		/*g_error("%s: Not able to find required information", path);*/
 		alertpanel_error(_("%s: Not able to find required information\nclamd will be disabled"), path);
 	}
Comment 1 Michael Rasmussen 2011-05-20 11:22:34 UTC
Thank's for the report and the patch. Patch has been applied to CVS.

Note You need to log in before you can comment on or make changes to this bug.