Skip to content

Commit 1a16708

Browse files
naghaabiramiYogaraj-Alamenda
authored andcommitted
Fix double free issue with QAT_SW
Signed-off-by: Yogaraj Alamenda <yogarajx.alamenda@intel.com>
1 parent 9a23c7e commit 1a16708

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

qat_sw_init.c

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -323,14 +323,6 @@ void mb_thread_local_destructor(void *tlv_ptr)
323323
}
324324
mb_queue_rsa4k_priv_cleanup(tlv->rsa4k_priv_queue);
325325

326-
while ((rsa4k_priv_req =
327-
mb_queue_rsa4k_priv_dequeue(tlv->rsa4k_priv_queue)) != NULL) {
328-
*rsa4k_priv_req->sts = -1;
329-
qat_wake_job(rsa4k_priv_req->job, 0);
330-
OPENSSL_free(rsa4k_priv_req);
331-
}
332-
mb_queue_rsa4k_priv_cleanup(tlv->rsa4k_priv_queue);
333-
334326
while ((rsa4k_pub_req =
335327
mb_queue_rsa4k_pub_dequeue(tlv->rsa4k_pub_queue)) != NULL) {
336328
*rsa4k_pub_req->sts = -1;

0 commit comments

Comments
 (0)