Re: [Mesa-dev] [PATCH] st/mesa: don't dereference stObj->pt if NULL

2013-09-14 Thread Brian Paul
On 09/14/2013 09:37 AM, Brian Paul wrote: On 09/13/2013 08:15 PM, Dave Airlie wrote: It seems a user app can get us into this state, I trigger the fail running fbo-maxsize inside virgl, it fails to create the backing storage for the texture object, but then segfaults here when it should fail the

Re: [Mesa-dev] [PATCH] st/mesa: don't dereference stObj->pt if NULL

2013-09-14 Thread Brian Paul
On 09/13/2013 08:15 PM, Dave Airlie wrote: It seems a user app can get us into this state, I trigger the fail running fbo-maxsize inside virgl, it fails to create the backing storage for the texture object, but then segfaults here when it should fail the completeness test. Signed-off-by: Dave Ai

[Mesa-dev] [PATCH] st/mesa: don't dereference stObj->pt if NULL

2013-09-13 Thread Dave Airlie
It seems a user app can get us into this state, I trigger the fail running fbo-maxsize inside virgl, it fails to create the backing storage for the texture object, but then segfaults here when it should fail the completeness test. Signed-off-by: Dave Airlie --- src/mesa/state_tracker/st_cb_fbo.c