mirror of
https://codeberg.org/scip/pcp.git
synced 2025-12-17 12:00:56 +01:00
fixed double free of buffer blob in pcp_import_pub_pbp
This commit is contained in:
@@ -331,7 +331,6 @@ pcp_ks_bundle_t *pcp_import_pub_rfc(PCPCTX *ptx, Buffer *blob) {
|
|||||||
bes:
|
bes:
|
||||||
|
|
||||||
bef:
|
bef:
|
||||||
buffer_free(blob);
|
|
||||||
ucfree(sigheader, sizeof(rfc_pub_sig_h));
|
ucfree(sigheader, sizeof(rfc_pub_sig_h));
|
||||||
ucfree(subheader, sizeof(rfc_pub_sig_s));
|
ucfree(subheader, sizeof(rfc_pub_sig_s));
|
||||||
ucfree(p, sizeof(pcp_pubkey_t));
|
ucfree(p, sizeof(pcp_pubkey_t));
|
||||||
|
|||||||
Reference in New Issue
Block a user