inet: Ensure data->channel exist before accessing it
authorOtavio Salvador <otavio@ossystems.com.br>
Wed, 29 Feb 2012 08:20:24 +0000 (05:20 -0300)
committerDaniel Wagner <daniel.wagner@bmw-carit.de>
Thu, 1 Mar 2012 12:45:25 +0000 (13:45 +0100)
commite6c7386e8e25a1857673903efea54f89bcbf1b7a
tree90eb313aeaed6131cc9472d5a7d845f8f1f11aa4
parente22e1747723cbd9f835f2bdb903f2372f0bdd486
inet: Ensure data->channel exist before accessing it

Log of segfault:
...
connmand[676]: src/network.c:check_dhcpv6() reply (nil)
connmand[676]: src/network.c:check_dhcpv6() re-send router solicitation 3
connmand[676]: src/inet.c:__connman_inet_ipv6_send_rs()
connmand[676]: Aborting (signal 11) [connmand]
src/inet.c