aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorJiri Slaby <[email protected]>2013-02-07 14:44:40 +0100
committerJohn W. Linville <[email protected]>2013-02-08 14:51:35 -0500
commitc5e534e569fd07991d4d09921c73823cd5e4115e (patch)
tree622101388098cd26f07b1a576291bdb988957916 /tools/perf/scripts/python/sctop.py
parent957f4aca5fa0db69635271bc4621cc0b65b2d590 (diff)
NET: ath5k, check ath5k_eeprom_mode_from_channel retval
It can, if invalid argument given, return a negative value. In that case we would access arrays out-of-bounds and such. Check the value and yell loudly if that happened as it would be a bug in the implementation. (Instead of silently corrupting memory.) Signed-off-by: Jiri Slaby <[email protected]> Cc: Nick Kossifidis <[email protected]> Cc: "Luis R. Rodriguez" <[email protected]> Signed-off-by: John W. Linville <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions