diff options
author | Dean Nelson <dcn@sgi.com> | 2009-02-04 15:12:24 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-02-12 09:50:22 -0800 |
commit | 3bb90b5b5c86949bc3be417eea1eb85f10263098 (patch) | |
tree | 52e5df123ca8b1d4a3dfd5834286675daafeed4d /kernel/rtmutex-debug.c | |
parent | 113a7025cd8dec02fe9b474d28da831ea64d8a26 (diff) |
sgi-xp: fix writing past the end of kzalloc()'d space
commit 361916a943cd9dbda1c0b00879d0225cc919d868 upstream.
A missing type cast results in writing way beyond the end of a kzalloc()'d
memory segment resulting in slab corruption. But it seems like the better
solution is to define ->recv_msg_slots as a 'void *' rather than a
'struct xpc_notify_mq_msg_uv *' and add the type cast.
Signed-off-by: Dean Nelson <dcn@sgi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'kernel/rtmutex-debug.c')
0 files changed, 0 insertions, 0 deletions