Skip to content
Commit cf01fb99 authored by Chris Salls's avatar Chris Salls Committed by Linus Torvalds
Browse files

mm/mempolicy.c: fix error handling in set_mempolicy and mbind.



In the case that compat_get_bitmap fails we do not want to copy the
bitmap to the user as it will contain uninitialized stack data and leak
sensitive data.

Signed-off-by: default avatarChris Salls <salls@cs.ucsb.edu>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 425fffd8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment