h***@ts.fujitsu.com
2017-03-29 06:26:21 UTC
To whom it may concern,
the latest changes in lanplus_crypt_impl.c together with the OpenSSL 1.1
changes now leak the allocated cipher context on every call. You should call
EVP_CIPHER_CTX_free(ctx), also I would suggest to call
EVP_CIPHER_CTX_cleanup(ctx) always and not only in the success case (e.g.
move these 2 calls to the end of the function and fall through).
Best regards,
Holger Liebig
the latest changes in lanplus_crypt_impl.c together with the OpenSSL 1.1
changes now leak the allocated cipher context on every call. You should call
EVP_CIPHER_CTX_free(ctx), also I would suggest to call
EVP_CIPHER_CTX_cleanup(ctx) always and not only in the success case (e.g.
move these 2 calls to the end of the function and fall through).
Best regards,
Holger Liebig