[Mesa-dev] [PATCH] egl: android: Fix potential use of unitialized variable

Emil Velikov emil.l.velikov at gmail.com
Wed Jul 5 17:53:33 UTC 2017


On 5 July 2017 at 16:08, Eric Engestrom <eric at engestrom.ch> wrote:
> On 5 July 2017 15:57:10 BST, Tomasz Figa <tfiga at chromium.org> wrote:
>> If dri2_setup_extensions() fails, the "err" variable would not be
>> assigned
>> causing the error path to access an unitialized variable. Fix it by
>> assigning an error message.
>>
>> Signed-off-by: Tomasz Figa <tfiga at chromium.org>
>
> Reviewed-by: Eric Engestrom <eric at engestrom.ch>
>
Pushed alongside the build fix, each with a fixes tag ;-)

Thanks guys.
Emil


More information about the mesa-dev mailing list