[ovs-dev] [PATCH] netdev: avoid null pointer dereference in netdev_get_addrs()
Ben Pfaff
blp at ovn.org
Thu Mar 31 00:01:37 UTC 2016
On Wed, Mar 30, 2016 at 07:50:09PM -0400, Lance Richardson wrote:
> For some network interface configurations, it is possible for
> entries on the address list returned by getifaddrs() to have
> ifa->ifa_addr set to NULL. Add checks to avoid dereferencing
> ifa->ifa_addr in this case.
>
> Fixes: a8704b502785 ("tunneling: Handle multiple ip address for given device.")
> Signed-off-by: Lance Richardson <lrichard at redhat.com>
This fixes the same bug as a patch submitted slightly earlier
(https://patchwork.ozlabs.org/patch/603653/), so I applied that one
instead.
More information about the dev
mailing list