commit | 5f46feab87bb105d6a217d966b327fdc56696802 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Tue May 10 22:20:04 2016 +0300 |
committer | David S. Miller <davem@davemloft.net> | Wed May 11 23:44:56 2016 -0400 |
tree | e169b1e6f9d9ba111144ee3a5ed96fe353278685 | |
parent | 685764b108a7e5fe9f5ee213d6a627c1166d7c88 [diff] |
qlcnic: potential NULL dereference in qlcnic_83xx_get_minidump_template() If qlcnic_fw_cmd_get_minidump_temp() fails then "fw_dump->tmpl_hdr" is NULL or possibly freed. It can lead to an oops later. Fixes: d01a6d3c8ae1 ('qlcnic: Add support to enable capability to extend minidump for iSCSI') Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>