summaryrefslogtreecommitdiff
path: root/Kbuild
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2012-03-04 12:32:10 +0000
committerBen Hutchings <ben@decadent.org.uk>2012-11-16 16:46:52 +0000
commitbdf24c170f3ac62c564392ca60a682baa0e7ef58 (patch)
treeedce8bc7dd23008a7a60e2638eb9ad25bdbf9be1 /Kbuild
parentd318a127e273716c9531fe70d497ca24db4c0bf1 (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