pipebuffer: Be extra cautious with the incoming buffers.
authorJosé Fonseca <jrfonseca@tungstengraphics.com>
Sun, 27 Apr 2008 12:19:34 +0000 (21:19 +0900)
committerJosé Fonseca <jrfonseca@tungstengraphics.com>
Sun, 27 Apr 2008 12:19:34 +0000 (21:19 +0900)
commit083008d808c02226a3dfead6000a84efd5e6a9fa
treea10cfe9f7742e6044b6d1fed7185541d3100046d
parente3c415995706d2dda7c34a227e2e24d0745763ec
pipebuffer: Be extra cautious with the incoming buffers.

A common mistake is trying to fence user or malloc buffers. So don't let
the crash happen inside pipebuffer lib.
src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c