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

Commit 174e5651 authored by Colin Cross's avatar Colin Cross Committed by Ruchi Kandoi
Browse files

mm: fix prctl_set_vma_anon_name



prctl_set_vma_anon_name could attempt to set the name across
two vmas at the same time due to a typo, which might corrupt
the vma list.  Fix it to use tmp instead of end to limit
the name setting to a single vma at a time.

Change-Id: Ie32d8ddb0fd547efbeedd6528acdab5ca5b308b4
Reported-by: default avatarJed Davis <jld@mozilla.com>
Signed-off-by: default avatarColin Cross <ccross@android.com>
parent 34c2b574
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