diff options
| author | James Smart <jsmart2021@gmail.com> | 2022-08-18 18:17:31 -0700 |
|---|---|---|
| committer | Martin K. Petersen <martin.petersen@oracle.com> | 2022-08-31 23:39:58 -0400 |
| commit | 59b7e210a522b836a01516c71ee85d1d92c1f075 (patch) | |
| tree | 00d1e15bbd483707ada72ee050157cb1d27162df /drivers/rtc/rtc-ds3232.c | |
| parent | 439b93293ff202dae9661937a73af03374ec0ed0 (diff) | |
| download | linux-59b7e210a522b836a01516c71ee85d1d92c1f075.tar.gz linux-59b7e210a522b836a01516c71ee85d1d92c1f075.tar.bz2 linux-59b7e210a522b836a01516c71ee85d1d92c1f075.zip | |
scsi: lpfc: Fix null ndlp ptr dereference in abnormal exit path for GFT_ID
An error case exit from lpfc_cmpl_ct_cmd_gft_id() results in a call to
lpfc_nlp_put() with a null pointer to a nodelist structure.
Changed lpfc_cmpl_ct_cmd_gft_id() to initialize nodelist pointer upon
entry.
Link: https://lore.kernel.org/r/20220819011736.14141-3-jsmart2021@gmail.com
Co-developed-by: Justin Tee <justin.tee@broadcom.com>
Signed-off-by: Justin Tee <justin.tee@broadcom.com>
Signed-off-by: James Smart <jsmart2021@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/rtc/rtc-ds3232.c')
0 files changed, 0 insertions, 0 deletions
