]> git.proxmox.com Git - mirror_iproute2.git/commit
ipaddress: Avoid accessing uninitialized variable lcl
authorPhil Sutter <phil@nwl.cc>
Mon, 21 Aug 2017 09:26:59 +0000 (11:26 +0200)
committerStephen Hemminger <stephen@networkplumber.org>
Tue, 22 Aug 2017 00:17:00 +0000 (17:17 -0700)
commitd044ea3e784d1a4f0a61f306b86ce95c9a26b0b5
tree1a2be51e715c8b2369aec309dad3e024a4ff4577
parent73aa988868e7e068b4fc0daaca7cfdb3e07fe744
ipaddress: Avoid accessing uninitialized variable lcl

If no address was given, ipaddr_modify() accesses uninitialized data
when assigning to req.ifa.ifa_prefixlen.

Signed-off-by: Phil Sutter <phil@nwl.cc>
ip/ipaddress.c