]> git.baikalelectronics.ru Git - uboot.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)
commitf609ad58d421a13db34fca17cee41fb1b00c57a6
tree337bc3bf628c133320b5589b5865bb3d64c05bd1
parenta704039b70566844db5e603d37d5ec7a75dda3a3
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