Quantcast
Channel: Serverphorums.com
Viewing all articles
Browse latest Browse all 23908

Re: [PATCH] tty: Fix potentialy used uninitialized variable

$
0
0
On Sat, Aug 8, 2015 at 11:24 AM, Tomer Barletz <barletz@gmail.com> wrote:
> Initialize size to 0, as it may be used uninitialized in case
> read_mem32() fails.

Instead of papering over the issue better cleanup read_mem32() such that
a failure can be detected. :-)

--
Thanks,
//richard
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Viewing all articles
Browse latest Browse all 23908

Trending Articles