RE: Problem solved, bug in sophie found
"Maciej Uhlig" <[email protected]>
| Newsgroups | gmane.comp.security.virus.vtools |
|---|---|
| Message-ID | <[email protected]> |
Markus: > Ok, I think I have found a bug in sophie. > sophie sets the Grp* options using a SOPHOS_TYPE_U32, but adding the > line > if (STRNCMP(option, "Grp", 3)) stype = SOPHOS_TYPE_OPTION_GROUP; > make my problems go away. I'm not able to reproduce your fix under both Solaris 8 and Solaris 2.6. Without the fix (Sophie 3.04rc1) sophie -c reports group options as equal to 0 or 1. These are Sophos defaults, I suppose, /etc/sophie.savi doesn't exist in this case. With your one-line fix (group options read from /etc/sophie.savi) sophie -c reports group option as equal to 2. I'm slightly confused. What happens here if the group option is set to 1 and is reported as 2? Maciek