|
|
cURL Mailing List Monthly Index Single Mail
curl-tracker mailing list Archives
[ curl-Bugs-2234923 ] Curl_if2ip crashes on NULL ifa_addr
From: SourceForge.net <noreply_at_sourceforge.net>
Date: Fri, 07 Nov 2008 18:35:14 +0000
Bugs item #2234923, was opened at 2008-11-07 08:04
Please note that this message will contain a full copy of the comment thread,
Initial Comment:
$3 = {ifa_next = 0x9242418, ifa_name = 0x9242404 "teql0", ifa_flags = 128,
which corresponds to what "ip link show teql0" displays:
2: teql0: <NOARP> mtu 1500 qdisc noop qlen 100
(That "/void" would normally be a hardware address of some kind for a real interface.)
This causes Curl_if2ip to crash, because it enumerates all the interfaces, assuming ifa_addr is a valid pointer for each one. I've attached a patch against curl-7.19.1 to make it check for this.
----------------------------------------------------------------------
You can respond by visiting:
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info