diff options
| -rw-r--r-- | ext/openssl/openssl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/openssl/openssl.c b/ext/openssl/openssl.c index 9deef36e8f..7dcc16b242 100644 --- a/ext/openssl/openssl.c +++ b/ext/openssl/openssl.c @@ -2553,6 +2553,8 @@ PHP_FUNCTION(openssl_pkcs12_read) RETVAL_FALSE; + PHP_OPENSSL_CHECK_OVERFLOW(zp12_len, pkcs12); + bio_in = BIO_new(BIO_s_mem()); if(0 >= BIO_write(bio_in, zp12, (int)zp12_len)) |
