diff options
author | Eric Dumazet <[email protected]> | 2012-03-04 12:32:10 +0000 |
---|---|---|
committer | David S. Miller <[email protected]> | 2012-03-04 22:02:55 -0500 |
commit | a4b64fbe482c7766f7925f03067fc637716bfa3f (patch) | |
tree | e2e447e8f37092eaccc914ffb6d3eea455cd56fa /tools/perf/util/scripting-engines/trace-event-python.c | |
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 <[email protected]>
Cc: Greg Rose <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions