[Mesa-dev] Avoid segfault in omx deconstructor

Christian König christian.koenig at amd.com
Tue Nov 3 10:38:54 PST 2015


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
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20151103/def04d69/attachment.html>


More information about the mesa-dev mailing list