]> git.baikalelectronics.ru Git - uboot.git/commit
fs: fat: fix set_cluster()
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Tue, 2 Oct 2018 07:30:45 +0000 (09:30 +0200)
committerTom Rini <trini@konsulko.com>
Sat, 6 Oct 2018 18:09:41 +0000 (14:09 -0400)
commitea9adda055ecaf016375a1d4ed1e7329ef9a0377
treee82a6f2239637c059ecf15467180306124dcb23f
parentbf108f31b0f737b6e0646fa02806c65174b0cb0b
fs: fat: fix set_cluster()

Avoid CoverityScan warning SIGN_EXTENSION by changing the type of
parameter size of set_cluster().

Avoid leaking stack content when writing an incomplete last sector.

Reported-by: Coverity (CID: 184096)
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
fs/fat/fat_write.c