Re: nessus-libraries/libnessus network.c, 1.142.2.6, 1.142.2.7

Jan-Oliver Wagner <[email protected]> Fri, 19 Aug 2005 09:53:01 +0200
Newsgroups gmane.comp.security.nessus.devel
Message-ID <[email protected]>
Hi,

this also hasn't been applied to HEAD.
Attached a patch.

	Jan

On Wed, Jul 06, 2005 at 07:48:39PM -0400, [email protected] wrote:
> Update of /usr/local/cvs/nessus-libraries/libnessus
> In directory raccoon.nessus.org:/tmp/cvs-serv90054
> 
> Modified Files:
>       Tag: NESSUS_2_2
> 	network.c 
> Log Message:
> signedness warnings
> 
> Index: network.c
> ===================================================================
> RCS file: /usr/local/cvs/nessus-libraries/libnessus/network.c,v
> retrieving revision 1.142.2.6
> retrieving revision 1.142.2.7
> diff -u -d -r1.142.2.6 -r1.142.2.7
> --- network.c	8 May 2005 11:13:32 -0000	1.142.2.6
> +++ network.c	6 Jul 2005 23:48:37 -0000	1.142.2.7
> @@ -1499,7 +1499,8 @@
>    fd_set		fd_w;
>    struct timeval	to;
>    int			soc, x;
> -  int			opt, opt_sz;
> +  int			opt;
> +  unsigned int opt_sz;
>  
>    __port_closed = 0;
>  
> 
> _______________________________________________
> Nessus-cvs mailing list
> [email protected]
> http://mail.nessus.org/mailman/listinfo/nessus-cvs

-- 
Jan-Oliver Wagner               http://intevation.de/~jan/
Intevation GmbH                      http://intevation.de/
Kolab Konsortium               http://kolab-konsortium.de/
FreeGIS                                http://freegis.org/

_______________________________________________
Nessus-devel mailing list
[email protected]
http://mail.nessus.org/mailman/listinfo/nessus-devel
signed2.patch (text/plain, 498 B)
Index: network.c
===================================================================
RCS file: /usr/local/cvs/nessus-libraries/libnessus/network.c,v
retrieving revision 1.151
diff -u -3 -p -r1.151 network.c
--- network.c	8 May 2005 11:14:04 -0000	1.151
+++ network.c	19 Aug 2005 07:51:39 -0000
@@ -1505,7 +1505,8 @@ open_socket(struct sockaddr_in *paddr, 
   fd_set		fd_w;
   struct timeval	to;
   int			soc, x;
-  int			opt, opt_sz;
+  int			opt;
+  unsigned int opt_sz;
 
   __port_closed = 0;