aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2010-09-08 21:39:56 +0200
committerDavid Woodhouse <[email protected]>2010-10-24 23:52:49 +0100
commit5e59be1f351b0ca9c5a43c627e3ed676ae93a941 (patch)
tree57a69440a6ed3045253df626afe726cd21e47ab3 /tools/perf/scripts/python
parent0eecf4b20d63e0662d0a9732e9bd8a84bd3f872c (diff)
mtd: sanity check ioctl input
If "ur_idx" is wrong we could go past the end of the array. The "ur_idx" comes from root so it's not a huge deal, but adding a sanity check makes the code more robust. Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Artem Bityutskiy <[email protected]> Signed-off-by: David Woodhouse <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions