Please sign in to comment.
bnx2x: fix a crash on corrupt firmware file
If the requested firmware is deemed corrupt and then released, reset the pointer to NULL in order to avoid double-freeing it in bnx2x_release_firmware() or dereferencing it in bnx2x_init_firmware(). Signed-off-by: Michal Schmidt <email@example.com> Acked-by: Eilon Greenstein <firstname.lastname@example.org> Signed-off-by: David S. Miller <email@example.com>
- Loading branch information...
Showing with 1 addition and 0 deletions.