Re: [Mesa-dev] [PATCH] st/mesa: add null pointer checking in query object functions

2014-03-26 Thread Roland Scheidegger
Am 25.03.2014 00:30, schrieb Brian Paul: > Don't pass null query object pointers into gallium functions. > This avoids segfaulting in the VMware driver (and others?) if the > pipe_context::create_query() call fails and returns NULL. > > Cc: "10.0" "10.1" > --- > src/mesa/state_tracker/st_cb_quer

[Mesa-dev] [PATCH] st/mesa: add null pointer checking in query object functions

2014-03-24 Thread Brian Paul
Don't pass null query object pointers into gallium functions. This avoids segfaulting in the VMware driver (and others?) if the pipe_context::create_query() call fails and returns NULL. Cc: "10.0" "10.1" --- src/mesa/state_tracker/st_cb_queryobj.c | 18 -- 1 file changed, 16 in