firewall: fix potential NULL pointer access
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 1 Sep 2014 13:21:09 +0000 (13:21 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 1 Sep 2014 13:21:09 +0000 (13:21 +0000)
commit921a5bb9563795a3ad3dd1bb1261220f66580c1b
tree47e657a0ccd8ecd555814c686a0ce690f8e536f4
parentf76ea8c4ef97b3ee74493321543fccb45e5f77fa
firewall: fix potential NULL pointer access

Properly skip struct ifaddr entries with NULL ifa_addr, thanks Kostas Papadopoulos for reporting.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Backport of r42138

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42354 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/network/config/firewall/Makefile