Re: [Mesa-dev] [PATCH v2] mesa: Avoid read of uninitialized variable

2017-03-02 Thread Emil Velikov
On 2 March 2017 at 00:14, Robert Foss wrote: > The is_color_attachement variable is later read when handling two > separate error cases, where only one of the cases results in the > variable being initialized. > > This can be avoided by giving the variable a safe default value. > > Coverity-Id: 13

Re: [Mesa-dev] [PATCH v2] mesa: Avoid read of uninitialized variable

2017-03-02 Thread Marek Olšák
Reviewed-by: Marek Olšák Marek On Thu, Mar 2, 2017 at 1:14 AM, Robert Foss wrote: > The is_color_attachement variable is later read when handling two > separate error cases, where only one of the cases results in the > variable being initialized. > > This can be avoided by giving the variable a

[Mesa-dev] [PATCH v2] mesa: Avoid read of uninitialized variable

2017-03-01 Thread Robert Foss
The is_color_attachement variable is later read when handling two separate error cases, where only one of the cases results in the variable being initialized. This can be avoided by giving the variable a safe default value. Coverity-Id: 1398631 Signed-off-by: Robert Foss Reviewed-by: Ilia Mirkin