|
|||||||||||
|
libnet_open_raw6() issue
From: Darren Bounds <libnet(at)intrusense.com>
Date: Thu Jun 19 2003 - 09:32:04 EDT Hi guys, I just noticed little problem with libnet_open_raw6() you guys are probably already aware of, but I haven't seen any mention of it yet.
#if !(__WIN32__)
void *oneptr = &one;
BOOL one;
First of all, this doesn't define 'one' for anything other than WIN32. Secondly oneptr isn't defined for anything other than svr4. The following works nicely (using code taken from libnet_open_raw4()): #if !(__WIN32__)
int one= 1;
void *oneptr = &one;
int *oneptr = &one;
BOOL one;
Thanks, -- Darren Bounds Security Consultant Information Security Services Intrusense Inc. -- Intrusense - Securing Business As Usual On Wed, 2003-06-18 at 20:04, Mike Schiffman wrote:Received on Thu Jun 19 13:13:59 2003 This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:02:24 EDT |
||||||||||
|
|||||||||||