lkml.org 
[lkml]   [2017]   [Mar]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH RESEND v1] qed: Fix copy of uninitialized memory
From
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.

\
 
 \ /
  Last update: 2017-03-09 22:19    [W:0.064 / U:0.232 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site