[Mesa-stable] [Mesa-dev] [PATCH 1/2] wayland-drm: use a copy of the wayland_drm_callbacks struct
Emil Velikov
emil.l.velikov at gmail.com
Wed Oct 4 18:11:04 UTC 2017
On 4 October 2017 at 11:46, Daniel Stone <daniel at fooishbar.org> wrote:
> Hi Emil,
>
> On 27 September 2017 at 19:49, Emil Velikov <emil.l.velikov at gmail.com> wrote:
>> The callbacks may be called even when they are no longer valid.
>> Say, the user is dlclose(ing) libEGL while the buffers are being
>> destroyed.
>
> Series looks good to me, but if the user calls dlclose on EGL or
> whatever before the display/surface/buffers have all been destroyed,
> we're screwed anyway, since the authenticate callback will still point
> into oblivion. So the commit message probably needs some rework.
Indeed, the example is a bad one.
Nothing else comes to mind off the top of my head, so I'll just drop
the sentence for now.
> Regardless:
> Reviewed-by: Daniel Stone <daniels at collabora.com>
>
Thanks
Emil
More information about the mesa-stable
mailing list