[Mesa-dev] [PATCH] intel/blorp: Fix possible NULL pointer dereferencing

Emil Velikov emil.l.velikov at gmail.com
Mon Nov 27 14:52:18 UTC 2017


Hi Vadym,

Welcome to Mesa.

On 27 November 2017 at 14:41,  <vadim.shovkoplias at gmail.com> wrote:
> From: Vadym Shovkoplias <vadym.shovkoplias at globallogic.com>
>
> Fix incomplete check of input params in blorp_surf_convert_to_uncompressed()
> which can lead to NULL pointer dereferencing.
Nicely spotted. Fortunately, all the callers do the sane thing so in
practise this cannot crash ;-)

Fixes: 5ae8043fed2 ("intel/blorp: Add an entrypoint for doing
bit-for-bit copies")
Fixes: f395d0abc83 ("intel/blorp: Internally expose
surf_convert_to_uncompressed")
Reviewed-by: Emil Velikov <emli.velikov at collabora.com>

-Emil


More information about the mesa-dev mailing list