diff options
| author | Dan Carpenter <dan.carpenter@oracle.com> | 2016-05-10 22:20:04 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-05-10 10:26:13 +0200 |
| commit | b75b54f74f2397511958bdec6d2f39cdc7fdeb00 (patch) | |
| tree | ab133a6849d4a175e684d5fd59543390aea2fc25 /include/linux/seqlock.h | |
| parent | 5ff49c3fe5c8f181f489712e190331e736f7a375 (diff) | |
qlcnic: potential NULL dereference in qlcnic_83xx_get_minidump_template()
commit 5f46feab87bb105d6a217d966b327fdc56696802 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/seqlock.h')
0 files changed, 0 insertions, 0 deletions
