diff options
author | Juergen Gross <[email protected]> | 2017-10-25 17:08:07 +0200 |
---|---|---|
committer | Boris Ostrovsky <[email protected]> | 2017-10-25 12:48:13 -0400 |
commit | 298d275d4d9bea3524ff4bc76678c140611d8a8d (patch) | |
tree | 4337329fdc85462328edb08a35f6c373c82ab6f1 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | e1043a4bb9fce6cfc7d55c5767e429a18ac8c4eb (diff) |
xen/gntdev: avoid out of bounds access in case of partial gntdev_mmap()
In case gntdev_mmap() succeeds only partially in mapping grant pages
it will leave some vital information uninitialized needed later for
cleanup. This will lead to an out of bounds array access when unmapping
the already mapped pages.
So just initialize the data needed for unmapping the pages a little bit
earlier.
Cc: <[email protected]>
Reported-by: Arthur Borsboom <[email protected]>
Signed-off-by: Juergen Gross <[email protected]>
Reviewed-by: Boris Ostrovsky <[email protected]>
Signed-off-by: Boris Ostrovsky <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions