diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2006-07-10 04:44:30 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-07-10 13:24:18 -0700 |
commit | 06a9ec291b3aec9c7e36af0a10ad2b556bd7e84f (patch) | |
tree | a98c1293470967bfa93e250b99b6a0ff129e3dee /drivers/message/fusion | |
parent | bed936f7eab946c60170bc92a1aea597da158e02 (diff) |
[PATCH] pi-futex: Validate futex type instead of oopsing
Calling futex_lock_pi is called with a reference to a non PI futex and
waiters exist already, lookup_pi_state() oopses due to pi_state == NULL.
Check this condition and return -EINVAL to userspace.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Jakub Jelinek <jakub@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/message/fusion')
0 files changed, 0 insertions, 0 deletions