diff options
author | Colin Cross <ccross@android.com> | 2014-08-05 12:05:17 -0700 |
---|---|---|
committer | Ziyan <jaraidaniel@gmail.com> | 2016-03-11 16:06:00 +0100 |
commit | 3ce92b8ec2814eb5563fb529d164859df79b7c0d (patch) | |
tree | d26c6365bd65ebc5679d318b10af25983c40f580 /kernel/futex.c | |
parent | ad3aa5802446f8a3642657bb0bc097c89cc305a5 (diff) | |
download | kernel_samsung_espresso10-3ce92b8ec2814eb5563fb529d164859df79b7c0d.zip kernel_samsung_espresso10-3ce92b8ec2814eb5563fb529d164859df79b7c0d.tar.gz kernel_samsung_espresso10-3ce92b8ec2814eb5563fb529d164859df79b7c0d.tar.bz2 |
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: Jed Davis <jld@mozilla.com>
Signed-off-by: Colin Cross <ccross@android.com>
Diffstat (limited to 'kernel/futex.c')
0 files changed, 0 insertions, 0 deletions