busybox: fix uninitialized memory when displaying IPv6 addresses
authorFelix Fietkau <nbd@openwrt.org>
Mon, 18 Jan 2016 11:07:35 +0000 (12:07 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Mon, 1 Feb 2016 01:20:25 +0000 (02:20 +0100)
commitf2c043acfcf9dad9fd3d65821b81f89986bbe54e
tree0f15e9aacc83344443786d01cc78aaf5ff7899aa
parentc30a5b13731919367ec2d781a107706fd00f21bc
busybox: fix uninitialized memory when displaying IPv6 addresses

After commit 8e74adab0107658e3dc04ed342206272a284f43e
("libbb: make INET[6]_rresolve use sockaddr2{host,dotted}_noport")
INET_sprint6 uses more than just sin6_addr, it also tries to display the
scope id, which is uninitialized when called from ife_print6.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
networking/interface.c