diff options
author | Dan Carpenter <[email protected]> | 2018-03-19 13:33:03 +0300 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2018-03-21 18:33:04 -0400 |
commit | 24268fd1ad3213079f1af09359b4243fffa95869 (patch) | |
tree | d5c5816818626e0382e92753570523f99b41d0a0 /lib/test-string_helpers.c | |
parent | 83c9f08e6c6a6dc668384882de4dcf5ef4ae0ba7 (diff) |
scsi: dpt_i2o: use after free in adpt_release()
The scsi_host_put() function frees "pHba" and then we dereference it on
the next line when we do "scsi_host_put(pHba->host);".
[mkp: included fix from hch]
Fixes: 38e09e3bb056 ("scsi: dpt_i2o: stop using scsi_unregister")
Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions