aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorVincent StehlĂ© <[email protected]>2019-04-14 17:37:26 +0200
committerGreg Kroah-Hartman <[email protected]>2019-04-16 13:31:58 +0200
commit060ea4271a82270be6d44e8e9aefe8f155fb5626 (patch)
tree6059c57e955a8600f007c2f785a2732cb9c8af25 /tools/perf/scripts/python/exported-sql-viewer.py
parentdeaf3b71550de08c88f9b40b118dbb87b3668af0 (diff)
staging: android: vsoc: fix copy_from_user overrun
The `np->permission' structure is smaller than the `np' structure but sizeof(*np) worth of data is copied in there. Fix the size passed to copy_from_user() to avoid overrun. Fixes: 3d2ec9dcd553 ("staging: Android: Add 'vsoc' driver for cuttlefish.") Signed-off-by: Vincent StehlĂ© <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Reviewed-by: Dan Carpenter <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions