Re: Bug report

Rainer Link <rainer-pBPPa8WU5k41Tgt60Rntydi2O/[email protected]> Thu, 6 Nov 2003 17:28:00 +0100
Newsgroups gmane.comp.security.virus.openantivirus.general
Message-ID <[email protected]>
On Thu, Nov 06, 2003 at 10:52:23AM +0100, Moritz Both wrote:

> Meanwhile I have looked into the source and found some bugs concering
> the Lrufiles list. I am currently testing a new version, but I do not
> yet know if it works - but it looks so.

Ok, please keep me/us informed :-)

> I have created a new static function which deletes a single item from
> the list, given a pointer to the item, and replaces some
> 'DLIST_REMOVE()' etc. sequences by this function call. Two problems
> are fixed: (a) The lrufiles_count counter was not decremented in every
> case when an element was removed from the list and (b) there had been
> uses to ZERO_STRUCT() with a pointer argument where ZERO_STRUCTP()
> would have been correct.

ACK. Patch noted. Thanks!

best regards,
Rainer Link



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/