lkml.org 
[lkml]   [2018]   [Dec]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] net: netxen: fix a missing check and an uninitialized use
From
From: Kangjie Lu <kjlu@umn.edu>
Date: Fri, 21 Dec 2018 00:22:32 -0600

> When netxen_rom_fast_read() fails, "bios" is left uninitialized and may
> contain random value, thus should not be used.
>
> The fix ensures that if netxen_rom_fast_read() fails, we return "-EIO".
>
> Signed-off-by: Kangjie Lu <kjlu@umn.edu>

Applied, thanks.

\
 
 \ /
  Last update: 2018-12-21 18:02    [W:0.056 / U:0.676 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site