[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <07004331-e62a-7c02-97db-bc69f8256c9b@nod.at>
Date: Mon, 17 Jul 2017 18:03:28 +0200
From: Richard Weinberger <richard@....at>
To: Colin King <colin.king@...onical.com>,
Artem Bityutskiy <dedekind1@...il.com>,
Adrian Hunter <adrian.hunter@...el.com>,
linux-mtd@...ts.infradead.org
Cc: kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org,
hyc.lee@...il.com, Geert Uytterhoeven <geert@...ux-m68k.org>
Subject: Re: [PATCH][next] ubifs: fix uninitialized error variable err
Colin,
Am 17.07.2017 um 18:00 schrieb Colin King:
> From: Colin Ian King <colin.king@...onical.com>
>
> Variable err is not initialized and so the check to see if it is
> non-zero is basically checking a random garbage value. Fix this
> by initializing err to zero.
>
> Detected by CoverityScan, CID#1451370 ("Uninitialized variable")
>
> Fixes: 781f675e2d7e ("ubifs: Fix unlink code wrt. double hash lookups")
> Signed-off-by: Colin Ian King <colin.king@...onical.com>
Thanks, geert already pointed out that I've merged a bad patch.
I managed to merge the patch without the issues fixed that Hyunchul Lee
identified. ;-(
Thanks,
//richard
Powered by blists - more mailing lists