Revision c9ff04c941d2cd87d27496d7fee8923238bb2ebb authored by Jean Delvare on 11 May 2010, 04:01:45 UTC, committed by Dave Airlie on 11 May 2010, 04:01:48 UTC
Commit b4fe945405e477cded91772b4fec854705443dd5 introduced 3 bugs,
fix them:

* Use the right command dword for second packet offset in
  RADEON_CNTL_PAINT/BITBLT_MULTI.
* Don't leak memory if drm_buffer_copy_from_user() fails.
* Don't call drm_buffer_unprocessed() unless drm_buffer_alloc() and
  drm_buffer_copy_from_user() have been called successfully first.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Pauli Nieminen <suokkos@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
1 parent 8cfe92d
History

back to top