BN_POOL_get() can return NULL when OPENSSL_malloc() fails:
https://github.com/openssl/openssl/blob/984d6c6052169bcae8010de33f7796e455536d61/crypto/bn/bn_ctx.c#L365-L366
This causes BN_CTX_get() to return NULL:
https://github.com/openssl/openssl/blob/984d6c6052169bcae8010de33f7796e455536d61/crypto
Hi,
Wouldn't
if ( UINTPTR_MAX - (uintptr_t) buffer < len)
be closer to the intention of the original check?
Or is this undefined behaviour as well and I
stupidly missed that fact?
Regards,
Stefan
___
openssl-dev mailing
Hello!
When I try to verify the signed message using the master branch, I get an
error.
The command line is:
openssl smime -verify -inform der -in signed2_2_256.asn -noverify -signer
signer.certs -out was_signed.dat
STDERR CONTENTS:
smime: Cannot open input file signer.certs, No such file or di
On 10/22/2015 01:02 PM, stefan.n...@t-online.de via RT wrote:
> Hi,
>
> Wouldn't
> if ( UINTPTR_MAX - (uintptr_t) buffer < len)
> be closer to the intention of the original check?
> Or is this undefined behaviour as well and I
> stupidly missed that fact?
>
That appears to be defined behavio
OpenSSL_1_0_1-stable 2d404dc Clarify return values for EVP_DigestVerifyFinal.
OpenSSL_1_0_2-stable 8d43c00 Clarify return values for EVP_DigestVerifyFinal.
master 8cbb048 Clarify return values for EVP_DigestVerifyFinal.
Author: Adam Eijdenberg
Date: Mon Oct 19 11:16:25 2015 -0700
Clarify return
old release, many issues fixed. perhaps more remain; please open new tickets
if/when found.
--
Rich Salz, OpenSSL dev team; rs...@openssl.org
___
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev