Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 058c9685 authored by Matt Wagantall's avatar Matt Wagantall
Browse files

ARM: Improve vmalloc address checking in show_data()



There is an unhandled corner case with the current check
which has recently been hit. The nbytes argument may be
large enough for the range being dumped to cross a
boundary between page-table mappings, and dump addresses
which are vmalloc'd in the neighboring mapping.

Check every address being dumped to see if its vmalloc'd,
not just the address passed to show_data().

Change-Id: I255b093808177321f5202dcacea337ee333bfc63
Signed-off-by: default avatarMatt Wagantall <mattw@codeaurora.org>
parent 11e8434e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment