Skip to content

a code scanner reports resource leaks in qat_prov_sign_rsa.c #350

@nefigtut

Description

@nefigtut

hi, openscanhub code security scanner reports a couple of resource leaks in the qat_prov_rsa_enc_dec.c:

Defect type: RESOURCE_LEAK
QAT_Engine-2.0.0/qat_prov_sign_rsa.c:541:2: leaked_storage: Variable "tmps" going out of scope leaks the storage it points to.

Defect type: RESOURCE_LEAK
QAT_Engine-2.0.0/qat_prov_sign_rsa.c:1317:6: leaked_storage: Variable "decrypt_buf" going out of scope leaks the storage it points to.

Please see details in the qatengine-2.0.0.added.err.txt file attached. Could you please have a look and probably fix? Thank you!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions