Messages in this thread | | | Date | Fri, 21 Dec 2018 09:02:01 -0800 (PST) | Subject | Re: [PATCH] net: netxen: fix a missing check and an uninitialized use | From | David Miller <> |
| |
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.
| |