summaryrefslogtreecommitdiff
path: root/fs/seq_file.c
diff options
context:
space:
mode:
authorDean Nelson <dcn@sgi.com>2009-02-05 02:12:24 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2009-02-05 23:56:49 +0300
commit361916a943cd9dbda1c0b00879d0225cc919d868 (patch)
treee9b30d230248baa4dd3e9718b683e4aa74830f43 /fs/seq_file.c
parentfb9a68001175cc04bbbe711e6e29e1c6c353107b (diff)
downloadlinux-361916a943cd9dbda1c0b00879d0225cc919d868.tar.xz
sgi-xp: fix writing past the end of kzalloc()'d space
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> Cc: <stable@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/seq_file.c')
0 files changed, 0 insertions, 0 deletions