diff options
author | Dan Carpenter <error27@gmail.com> | 2010-05-26 10:42:58 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-05-26 19:19:23 +0400 |
commit | 0cae3457b1a6e88f31020272bcfd90c178716053 (patch) | |
tree | 71cf3f4049e9e80a5dd71219bd74061e8587a643 /mm/nommu.c | |
parent | b1cdc4670b9508fcd47a15fbd12f70d269880b37 (diff) | |
download | linux-0cae3457b1a6e88f31020272bcfd90c178716053.tar.xz |
mempolicy: ERR_PTR dereference in mpol_shared_policy_init()
The original code called mpol_put(new) while "new" was an ERR_PTR.
Signed-off-by: Dan Carpenter <error27@gmail.com>
Cc: Lee Schermerhorn <lee.schermerhorn@hp.com>
Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: Christoph Lameter <cl@linux-foundation.org>
Acked-by: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/nommu.c')
0 files changed, 0 insertions, 0 deletions