diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2012-03-04 12:32:10 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-03-04 22:02:55 -0500 |
commit | a4b64fbe482c7766f7925f03067fc637716bfa3f (patch) | |
tree | e2e447e8f37092eaccc914ffb6d3eea455cd56fa /net/bridge | |
parent | 709e1b5cd9e1915ad4f6c470ebf6b55d4a911d8c (diff) |
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>
Diffstat (limited to 'net/bridge')
0 files changed, 0 insertions, 0 deletions