firewall: fix potential NULL pointer access
authorJohn Crispin <john@openwrt.org>
Mon, 1 Sep 2014 13:21:09 +0000 (13:21 +0000)
committerJohn Crispin <john@openwrt.org>
Mon, 1 Sep 2014 13:21:09 +0000 (13:21 +0000)
commitb1b964a3998e841e2e7766e68da75d29a8248ffc
tree47e657a0ccd8ecd555814c686a0ce690f8e536f4
parentc2a084194aa841eb602b40cffb368646f342b76c
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

SVN-Revision: 42354
package/network/config/firewall/Makefile