I just confirmed that the Windows builds of ClamAV 0.99.2 will fail to start
ClamD if a "local.ign2" file exists in the database folder that (naturally)
was created under Windows, using the standard Notepad applet.

The default newline sequence for Windows is CR+LF.
The default newline sequence for Unix is LF.
(I think previous versions of Apple's operating systems had yet other
combinations, but that may no longer be an issue with OS/X and/or iOS)

The problem appears to be that ClamAV is not properly looking for any
newline sequence to, but rather is hard-coded to expect signature names
being separated by a single LF character, and will report a "Malformed
database" if any other newline character is encountered in local.ign2.

One I installed and used a suitable third-part software in place of the
standard Windows "Notepad", I finally was able to create a file with
UNIX-style line endings, and then ClamD was able to start again.


_______________________________________________
clamav-users mailing list
clamav-users@lists.clamav.net
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml

Reply via email to