Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1596390

Re: [PATCH RESEND v1] qed: Fix copy of uninitialized memory

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH RESEND v1] qed: Fix copy of uninitialized memory
Date 2017-03-09 22:20 +0100
Message-ID <tjdDz-2iO-1@gated-at.bofh.it> (permalink)
References <tiqtd-1LM-43@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Robert Foss <robert.foss@collabora.com>
Date: Tue,  7 Mar 2017 11:46:25 -0500

> In qed_ll2_start_ooo() the ll2_info variable is uninitialized and then
> passed to qed_ll2_acquire_connection() where it is copied into a new
> memory space.
> 
> This shouldn't cause any issue as long as non of the copied memory is
> every read.
> But the potential for a bug being introduced by reading this memory
> is real.
> 
> Detected by CoverityScan, CID#1399632 ("Uninitialized scalar variable")
> 
> Signed-off-by: Robert Foss <robert.foss@collabora.com>

Applied.

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH RESEND v1] qed: Fix copy of uninitialized memory Robert Foss <robert.foss@collabora.com> - 2017-03-07 17:50 +0100
  Re: [PATCH RESEND v1] qed: Fix copy of uninitialized memory David Miller <davem@davemloft.net> - 2017-03-09 22:20 +0100

csiph-web