aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorKevin McKinney <[email protected]>2011-09-18 18:34:46 -0400
committerGreg Kroah-Hartman <[email protected]>2011-09-19 10:46:17 -0700
commit5ac5bd8754b3dabcf4aea7b5f4a28a1d8494a1b0 (patch)
tree06f2a5c39a9158f62c9cf78addb4269cd2c8e54f /tools/perf/scripts/python
parent7518b9b8fc72a6c0ba67f33bdd4689c7dd28686a (diff)
Staging: bcm: Add size minimum size restrictions for IOCTL_IDLE_REQ
If IoBuffer.InputLength is zero then this will cause an Oops when we dereference the ZERO_SIZE_PTR. Or if it's smaller than sizeof(struct link_request) then we would get memory corruption when we set ->PLength in CopyBufferToControlPacket(). Signed-off-by: Kevin McKinney <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions