[ovs-git] [openvswitch/ovs] b0a47d: netdev: Fix crash when ifa_netmask is null.
GitHub
noreply at github.com
Wed Jul 12 15:51:06 UTC 2017
Branch: refs/heads/branch-2.6
Home: https://github.com/openvswitch/ovs
Commit: b0a47d0d404fd021eac3bf4e0c3c349f5eca250d
https://github.com/openvswitch/ovs/commit/b0a47d0d404fd021eac3bf4e0c3c349f5eca250d
Author: Haifeng Lin <haifeng.lin at huawei.com>
Date: 2017-07-12 (Wed, 12 Jul 2017)
Changed paths:
M lib/netdev.c
Log Message:
-----------
netdev: Fix crash when ifa_netmask is null.
glibc sometimes doesn't initialize the ifa_netmask and ifa_addr fields, if
the ioctl to fetch them fails. Check ifa_name also just for paranoia.
Signed-off-by: Haifeng Lin <haifeng.lin at huawei.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>
More information about the git
mailing list