[waffle] [PATCH] waffle: return accurate result from wegl_platform_init()

Chad Versace chad.versace at intel.com
Tue Jan 27 09:49:51 PST 2015


On 01/23/2015 08:37 AM, Emil Velikov wrote:
> On 23/01/15 01:43, Frank Henigman wrote:
>> wegl_platform_init() now returns false if dlopen or dlsym fails.
>>
>> Signed-off-by: Frank Henigman <fjhenigman at google.com>
> Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
> 
>> ---
>> Without this, if for some reason libEGL isn't loaded, wflinfo will
>> crash trying to call through a null pointer in the wegl_platform struct.
>>
> Nice catch Frank. As other failure paths differ from this one I've
> missed it out - silly me.
> 
> Chad, I think we want this for the maint-1.5 branch.

This patch has my r-b too. It will go to maint-1.5 today.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 884 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/waffle/attachments/20150127/612beea2/attachment.sig>


More information about the waffle mailing list