Files
libiscsi/lib
Raphael Norwitz 2674070fb8 iscsi-command: Fix leak in iscsi_send_data_out
In iscsi_send_data_out() a PDU is allocated, but there is no error
handling logic to free it if the PDU cannot be queued.
iscsi_allocate_pdu() may allocate memory for the PDU. This memory may be
leaked if iscsi_queue_pdu() fails since there is no call to free it.

Orignally there was a free() call but it was removed as a part of a
cleanup adding checks for NULL pdu callbacks.

Fixes: 423b82efa4 ("pdu: check callback for NULL everywhere")
Signed-off-by: Raphael Norwitz <raphael.norwitz@nutanix.com>
2022-03-03 12:58:08 -08:00
..
2022-01-17 13:14:49 -08:00
2020-02-28 21:54:49 -08:00
2021-05-23 13:23:52 -07:00
2022-01-17 13:14:49 -08:00
2022-01-17 13:14:49 -08:00
2021-05-23 13:23:41 -07:00
2021-05-23 13:23:41 -07:00
2021-05-23 13:23:52 -07:00
2022-01-17 13:14:49 -08:00