diff options
author | Todd Kjos <[email protected]> | 2019-12-13 12:25:31 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2019-12-14 09:10:47 +0100 |
commit | 16981742717b04644a41052570fb502682a315d2 (patch) | |
tree | 81e6f0d2bf4db7382e7aaf6064ffd0e481dca03b /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 3e42fe5c73108a6e68c98bc0df937888e35af97f (diff) |
binder: fix incorrect calculation for num_valid
For BINDER_TYPE_PTR and BINDER_TYPE_FDA transactions, the
num_valid local was calculated incorrectly causing the
range check in binder_validate_ptr() to miss out-of-bounds
offsets.
Fixes: bde4a19fc04f ("binder: use userspace pointer as base of buffer space")
Signed-off-by: Todd Kjos <[email protected]>
Cc: stable <[email protected]>
Link: https://lore.kernel.org/r/[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