[ovs-git] [openvswitch/ovs] 3e6dc8: netdev: Verify ifa_addr is not NULL when iterating...

GitHub noreply at github.com
Thu Mar 31 00:00:09 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 3e6dc8b7a8250d21c3cba65cae482bb1524d89a4
      https://github.com/openvswitch/ovs/commit/3e6dc8b7a8250d21c3cba65cae482bb1524d89a4
  Author: Thadeu Lima de Souza Cascardo <cascardo at redhat.com>
  Date:   2016-03-30 (Wed, 30 Mar 2016)

  Changed paths:
    M lib/netdev.c

  Log Message:
  -----------
  netdev: Verify ifa_addr is not NULL when iterating over getifaddrs.

Some point-to-point devices like TUN devices will not have an address, and while
iterating over ifaddrs, its ifa_addr will be NULL. This patch fixes a crash when
starting ovs-vswitchd on a system with such a device.

Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo at redhat.com>
Fixes: a8704b502785 ("tunneling: Handle multiple ip address for given device.")
Cc: Pravin B Shelar <pshelar at ovn.org>
Signed-off-by: Ben Pfaff <blp at ovn.org>




More information about the git mailing list