diff options
| author | Colin Ian King <[email protected]> | 2016-08-30 17:36:16 +0100 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2016-09-02 06:09:16 -0400 |
| commit | 5f6ac2cee25cb0bf6ec07249a6180cabd46a1913 (patch) | |
| tree | ad093643c03448ee582a80f3d460019d99326da5 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
| parent | 02ccda2a2ffba8750dcebe13a09ce5f671ffcda6 (diff) | |
scsi: bfa: Do not dereference port before it is null checked
Port is deferenced before it is null sanity checked, hence we
potentially have a null pointer dereference bug. Instead, initialise
trl_enabled from port->fcs->bfa after we are sure port is not null.
Signed-off-by: Colin Ian King <[email protected]>
Reviewed-by: Johannes Thumshirn <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions