[Mesa-stable] [PATCH] egl_dri2: swrastGetDrawableInfo: set *x, *y [v2]

Emil Velikov emil.l.velikov at gmail.com
Mon Jun 26 11:54:14 UTC 2017


On 22 June 2017 at 20:14, Ben Crocker <bcrocker at redhat.com> wrote:
> In swrastGetDrawableInfo, set *x and *y, not just *w and *h;
> this fixes a crash later in drisw_update_tex_buffer when the
> (formerly) uninitialized x and y values are used to construct
> an address in a call to llvmpipe_transfer_map.
>
> Fixes crash in Piglit test
> "spec at egl 1.4 at eglcreatepbuffersurface and then glclear"
> (<piglit dir>/bin/egl-create-pbuffer-surface -auto)
> that occurred intermittently, e.g. when the uninitialized x and y in
> drisw_update_tex_buffer just happened to contain absurd non-zero values.
>
> Signed-off-by: Ben Crocker <bcrocker at redhat.com>
R-B and pushed to master. Thanks Ben.

For the future please keep the Cc: mesa-stable tag within the email summary.

-Emil


More information about the mesa-stable mailing list