diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2012-03-04 12:32:10 +0000 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2012-11-16 16:46:52 +0000 |
commit | bdf24c170f3ac62c564392ca60a682baa0e7ef58 (patch) | |
tree | edce8bc7dd23008a7a60e2638eb9ad25bdbf9be1 /Kbuild | |
parent | d318a127e273716c9531fe70d497ca24db4c0bf1 (diff) |
rtnetlink: fix rtnl_calcit() and rtnl_dump_ifinfo()
commit a4b64fbe482c7766f7925f03067fc637716bfa3f upstream.
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>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions