[Mesa-dev] Avoid segfault in omx deconstructor

Marek Olšák maraeo at gmail.com
Tue Jan 12 10:15:30 PST 2016


Pushed to master, thanks.

Marek

On Tue, Nov 3, 2015 at 7:38 PM, Christian König
<christian.koenig at amd.com> wrote:
> The subject line should have something like "st/omx: ...".
>
> Apart from that the patch is Reviewed-by: Christian König
> <christian.koenig at amd.com>
>
> Regards,
> Christian.
>
>
> On 03.11.2015 19:06, StDenis, Tom wrote:
>
> Now with the correct email address ...
>
>
> Cheers,
>
> Tom
>
>
>
> ________________________________
> From: StDenis, Tom
> Sent: Tuesday, November 3, 2015 13:03
> To: mesa-dev at lists.freedesktop.org
> Cc: gpudriverdevsupport
> Subject: Avoid segfault in omx deconstructor
>
>
> If the constructor fails before the lists are initialized the deconstructor
> will fail.
>
>
> This patch is a bit of a kludge fix to just avoid the undefined behaviour.
> The real fix down the road would be to avoid calling the deconstructor if
> the constructor failed at all.
>
>
> Tom
>
>
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
>


More information about the mesa-dev mailing list