[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openvas-development
Subject:    Re: [Openvas-devel] Openvassd segfault when nvti cache is corrupted (Libraries 6.0.1)
From:       Michael Wiegand <michael.wiegand () greenbone ! net>
Date:       2014-01-16 11:25:52
Message-ID: 20140116112552.GB22791 () intevation ! de
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


* Sebastien Aucouturier [16. Jan 2014]:
> when nvti-cache is corrupted, the launch of openvassd segfault.
> 
> to fix this i replace the following code nvticache.c - line 126:
> 
> if (!n) return NULL;
> 
> by:
> 
> if (!n || !(nvti_oid (n))) return NULL;

Thanks, this patch does indeed make sense. I've applied it for SVN trunk
and OpenVAS-6 in SVN revisions 18587 and 18588 respectively.

Regards,


Michael

-- 
Michael Wiegand |  Greenbone Networks GmbH  |  http://www.greenbone.net/
Neuer Graben 17, 49074 Osnabrück, Germany | AG Osnabrück, HR B 202460
Executive Directors: Lukas Grunwald, Dr. Jan-Oliver Wagner


[Attachment #5 (application/pgp-signature)]

_______________________________________________
Openvas-devel mailing list
Openvas-devel@wald.intevation.org
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-devel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic