From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Mon, 16 Oct 2017 20:47:06 -0400 Subject: [U-Boot] [U-Boot, 2/4] fs: btrfs: Fix usage of uninitialized variables In-Reply-To: <20171006130459.29127-2-marek.behun@nic.cz> References: <20171006130459.29127-2-marek.behun@nic.cz> Message-ID: <20171017004706.GF12015@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: u-boot@lists.denx.de On Fri, Oct 06, 2017 at 03:04:57PM +0200, Marek Beh=C3=BAn wrote: > The variable res should be initialized to 0 in these functions, > because if the searched key is not found, the variable is used > uninitialized. >=20 > Reported-by: Coverity (CID: 167335) > Reported-by: Coverity (CID: 167336) > Reported-by: Coverity (CID: 167337) > Signed-off-by: Marek Behun Applied to u-boot/master, thanks! --=20 Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: