[openssl-dev] [openssl.org #3801] need NULL check in CMAC_CTX_free
Salz, Rich via RT
rt at openssl.org
Mon Apr 13 08:29:03 UTC 2015
need to add these lines around 115 in cma.c
void CMAC_CTX_free(CMAC_CTX *ctx)
{
+ if (!ctx)
+ return;
CMAC_CTX_cleanup(ctx);
OPENSSL_free(ctx);
}
.
More information about the openssl-dev
mailing list