[Buildroot] [PATCH v1 2/4] package/exfatprogs: fix compile failure node may be used uninitialized

Thomas Petazzoni thomas.petazzoni at bootlin.com
Sat May 9 20:42:15 UTC 2020


On Sat,  9 May 2020 18:21:15 +0200
Peter Seiderer <ps.report at gmx.net> wrote:

> Fixes:
> 
>   - http://autobuild.buildroot.net/results/5c5/5c5d71fde80a4f2f027085bdb0fae9fb76ab9d32
> 
>   fsck.c:1062:18: error: 'node' may be used uninitialized in this function [-Werror=maybe-uninitialized]
>        node->parent = dir;
>                     ^
>   fsck.c:870:22: note: 'node' was declared here
>     struct exfat_inode *node;
>                         ^
> 
> Signed-off-by: Peter Seiderer <ps.report at gmx.net>
> ---
>  ...k-fix-node-may-be-used-uninitialized.patch | 63 +++++++++++++++++++
>  1 file changed, 63 insertions(+)
>  create mode 100644 package/exfatprogs/0003-fsck-fix-node-may-be-used-uninitialized.patch

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


More information about the buildroot mailing list