[Nouveau] [Mesa-dev] [RFC PATCH 5/8] nv50: prevent NULL pointer dereference with pipe_query functions
Michel Dänzer
michel at daenzer.net
Mon Jun 22 23:57:57 PDT 2015
On 23.06.2015 06:02, Samuel Pitoiset wrote:
>
>
> On 06/22/2015 10:52 PM, Ilia Mirkin wrote:
>> If query_create fails, why would any of these functions get called?
>
> Because the HUD doesn't check if query_create() fails and it calls other
> pipe_query functions with NULL pointer instead of a valid query object.
Could the HUD code be fixed instead?
--
Earthling Michel Dänzer | http://www.amd.com
Libre software enthusiast | Mesa and X developer
More information about the Nouveau
mailing list