Hi,
What does it mean when a signature you add is said to be too short ? The error
is:
LibClamAV Error: cli_ac_addsig: Signature for Sanesecurity.Pierre.35 is too
short
LibClamAV Error: cli_parse_add(): Problem adding signature (1).
LibClamAV Error: Problem parsing database at line 35
LibClamAV Error: Can't load /tmp/pierre.ndb: Malformed database
ERROR: Malformed database
In the source code I found:
if(strlen(hexsig) / 2 < root->ac_mindepth) {
cli_errmsg("cli_ac_addsig: Signature for %s is too short\n", virname);
return CL_EMALFDB;
}
That happens to me now and then but I already successfully added shorter
signatures into
the ndb file. Is it the signature that is too short, or is it a string of it,
or is it related to other
signatures ?
The signature I am trying to add is:
Vigra{-20}$*http://{-20}doctor.ru
but this does not work neither:
Vigra*http://{-20}doctor.ru
Thanks for any advice,
Pierre
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml