]> git.dujemihanovic.xyz Git - u-boot.git/commit
ubifs: do not decide upon uninitialized variable
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Fri, 25 Dec 2020 14:19:39 +0000 (15:19 +0100)
committerTom Rini <trini@konsulko.com>
Wed, 20 Jan 2021 19:01:45 +0000 (14:01 -0500)
commit81f562719e475b0e13ff7a0201cae19f8cc367fe
tree337bc3bf628c133320b5589b5865bb3d64c05bd1
parent3b00a6bafc726a9a9df45346fb734d9ecef7b428
ubifs: do not decide upon uninitialized variable

Before 'if (err)' we have to initialize the variable otherwise we use a
random value from the stack.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
fs/ubifs/io.c