Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: Libnet 1.1.1 RC 5

From: Frédéric Raynal <pappy-ml(at)security-labs.org>
Date: Thu Jun 19 2003 - 03:11:59 EDT

On Wed, Jun 18, 2003 at 08:18:10PM -0700, Mike Schiffman wrote:
> Hrm, that's probably inside libnet_raw.c. I develop on OpenBSD

  • Libnet-1.1.1-RC-005.old/src/libnet_raw.c Thu Jun 19 08:59:25 2003 +++ Libnet-1.1.1-RC-005/src/libnet_raw.c Thu Jun 19 09:03:40 2003 @@ -112,8 +112,11 @@ libnet_open_raw6(libnet_t *l) { #if !(__WIN32__) + int one = 1; #if (__svr4__) void *oneptr = &one; +#else + int *oneptr = &one; #endif /* __svr4__ */ #else BOOL one;

There are also warnings with the 3 patched icmp functions:

libnet_build_icmp.c: In function `libnet_build_icmpv4_unreach':
libnet_build_icmp.c:268: warning: `p' might be used uninitialized in this function
libnet_build_icmp.c: In function `libnet_build_icmpv4_timeexceed':
libnet_build_icmp.c:367: warning: `p' might be used uninitialized in this function
libnet_build_icmp.c: In function `libnet_build_icmpv4_redirect':
libnet_build_icmp.c:464: warning: `p' might be used uninitialized in this function

But I really do not understand why ... so if someone has an idea (a solution would be to "nullify" the pointers as soon as they are declared).

A BGP-4 builder will arrive probably today, but I'll need help for testing as I dont have the needed infrastructure for that.

        Fred Raynal



To unsubscribe, e-mail: libnet-unsubscribe@securityfocus.com For additional commands, e-mail: libnet-help@securityfocus.com Received on Thu Jun 19 03:23:52 2003

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:02:24 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library