[Mesa-dev] [Mesa-stable] [PATCH 1/3] mesa/main: Move NULL pointer check.

Andres Gomez agomez at igalia.com
Fri Jul 7 14:11:18 UTC 2017


On Thu, 2017-07-06 at 18:02 +0100, Emil Velikov wrote:
> On 6 July 2017 at 15:35, Andres Gomez <agomez at igalia.com> wrote:
> > It looks like we could want this into -stable (?)
> > 
> 
> _mesa_update_draw_buffer_bounds is a no-op if the buffer pointer is NULL.
> There's no issue to fix, but making Coverity happy is not a bad idea either ;-)

_mesa_update_draw_buffer_bounds is a no-op but, if I'm not mistaken,
_mesa_update_framebuffer could end in a crash.

In any case, I think I will pick this.

Thanks for the feedback, Emil ☺

-- 
Br,

Andres


More information about the mesa-dev mailing list