fs: fat: avoid out of bounds access warning
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Mon, 25 Jan 2021 23:04:19 +0000 (00:04 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 29 Jan 2021 15:36:48 +0000 (10:36 -0500)
commit41ac28c67272d99836aebb840e5ab94b3ae14023
tree97590926545d7b743fc912166c0e68899ecb1089
parent9c3808debad6cae03850a93af8f3d1a6677ca8c7
fs: fat: avoid out of bounds access warning

When copying short name plus extension refer to the encapsulating structure
and not to the short name element.

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