gamma_dma_priority and gamma_dma_send_buffers both deref d->send_indices
authorDave Airlie <airlied@linux.ie>
Thu, 10 Jun 2004 09:43:53 +0000 (09:43 +0000)
committerDave Airlie <airlied@linux.ie>
Thu, 10 Jun 2004 09:43:53 +0000 (09:43 +0000)
commit78d0fd6526bb725151d8dce86006af7616ee4758
tree1939bd4cf42600888a232d287a2569dc436cedca
parentcfa5bf31290edad723e1ce388d3840f495f3ccff
gamma_dma_priority and gamma_dma_send_buffers both deref d->send_indices
    and/or d->send_sizes. When these functions are called from gamma_dma,
    these pointers are user pointers and are thus not safe to deref. This
    patch copies over the pointers inside gamma_dma_priority and
    gamma_dma_send_buffers.
Submitted-by: Robert T. Johnson <rtjohnso@eecs.berkeley.edu> Signed-off-by:
    Dave Airlie <airlied@linux.ie>
linux/gamma_dma.c