summaryrefslogtreecommitdiff
path: root/ipc
diff options
context:
space:
mode:
authorDean Nelson <dcn@sgi.com>2009-02-04 15:12:24 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2009-02-12 09:31:03 -0800
commit70a7607eecf3cf7dd4cd03627ff244ae7b3729e5 (patch)
treee0e6e7fba7f3f9bacae04777c371475ac1d7252c /ipc
parentbdb6a508be1efd20d813f4e09203d42da94c9f54 (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 'ipc')
0 files changed, 0 insertions, 0 deletions