diff options
author | Mark Hairgrove <[email protected]> | 2017-10-13 15:57:30 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2017-10-13 16:18:32 -0700 |
commit | e20d103b6c37038ca27409f746f0b3351bcd0c44 (patch) | |
tree | e1970efcd1f2792fc95c2fbd9054c59cb83c578a /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 997301a860fca1a05ab8e383a8039b65f8abeb1e (diff) |
mm/migrate: fix indexing bug (off by one) and avoid out of bound access
Index was incremented before last use and thus the second array could
dereference to an invalid address (not mentioning the fact that it did
not properly clear the entry we intended to clear).
Link: http://lkml.kernel.org/r/[email protected]
Fixes: 8315ada7f095bf ("mm/migrate: allow migrate_vma() to alloc new page on empty entry")
Signed-off-by: Mark Hairgrove <[email protected]>
Signed-off-by: Jérôme Glisse <[email protected]>
Cc: Reza Arbab <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions