Yup; quite correct.
I'll try the 2.2.4 code and see if it is any better.
-----Original Message-----
From: plugins-writers-bounces@list.nessus.org
[mailto:plugins-writers-bounces@list.nessus.org] On Behalf Of Renaud
Deraison
Sent: 22 March 2005 12:51
To: plugins-writers@list.nessus.org
Subject: Re: [Plugins-writers] Problems with nessus-fetch
On Tue, Mar 22, 2005 at 10:04:02AM -0000, Martin O'Neal wrote:
>
> Hiya,
>
> We've been having intermittent problems with fetching the latest NASL
> signatures which I believe I traced to a broken compare in the
> http_recv_headers() function. Patched version attached.
Errr... you diff turns :
< if(!strcmp(tmp, "\r\n")||
< !strcmp(tmp, "\n"))break;
into:
> if(strcmp(tmp, "\r\n")==0||strcmp(tmp, "\n")==0)break;
Which is the same thing. However we found a bug in network.c a little
while ago (fixed in 2.2.4 which will be released today). Try to install
Nessus 2.2.4 from CVS[1] and let me know if it solves your nessus-fetch
issues.
Thanks,
-- Renaud
[1] lynx -source
http://install.nessus.org | sh
_______________________________________________
Plugins-writers mailing list
Plugins-writers@list.nessus.org
http://mail.nessus.org/mailman/listinfo/plugins-writers