Libnet
Back to list
Name:
Email:
*Note: Email address will appear as "user domain ext" to prevent harvesting.
Subject:
Message:
Re: Memory leak in Libnet
Apr 06 2004 06:27PM
hekaddr-reg yahoo com
Hi Frederic,
"AL" is a structure of the following type:
struct libnet_ifaddr_list
{
u_int32_t addr;
int8_t *device;
};
So although "al" itself is static variable, its field "device"
points to dynamically allocated memory (in this case, allocated
by strdup()). Thus the old memory allocated...
[ more ]
Privacy Statement
Copyright 2010, SecurityFocus
"AL" is a structure of the following type:
struct libnet_ifaddr_list
{
u_int32_t addr;
int8_t *device;
};
So although "al" itself is static variable, its field "device"
points to dynamically allocated memory (in this case, allocated
by strdup()). Thus the old memory allocated...
[ more ]