]> git.dujemihanovic.xyz Git - u-boot.git/commit
tools: kwboot: Initialize rfds to zero
authorPali Rohár <pali@kernel.org>
Mon, 25 Oct 2021 13:12:52 +0000 (15:12 +0200)
committerStefan Roese <sr@denx.de>
Wed, 3 Nov 2021 05:45:26 +0000 (06:45 +0100)
commit0a14341cf8f60e6a9ba2edb0802507cbb073e806
tree2929969b648488ba5c1d3476e21bd33cf1b5e2ea
parent03a8a5e26a32d842ce2c92be9dc9b9d1b10c9057
tools: kwboot: Initialize rfds to zero

Explicitly zero out the rfds fd_set with FD_ZERO() before using it.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Marek Behún <marek.behun@nic.cz>
Reviewed-by: Stefan Roese <sr@denx.de>
tools/kwboot.c