Searched hist:a4b64fbe482c7766f7925f03067fc637716bfa3f (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/net/core/ |
H A D | rtnetlink.c | diff a4b64fbe482c7766f7925f03067fc637716bfa3f Sun Mar 04 06:32:10 CST 2012 Eric Dumazet <eric.dumazet@gmail.com> rtnetlink: fix rtnl_calcit() and rtnl_dump_ifinfo()
nlmsg_parse() might return an error, so test its return value before potential random memory accesses.
Errors introduced in commit 115c9b81928 (rtnetlink: Fix problem with buffer allocation)
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Cc: Greg Rose <gregory.v.rose@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|