History log of /PHP-7.0/ext/openssl/openssl.c (Results 1 – 25 of 464)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: php-7.3.13RC1, php-7.2.26RC1, php-7.4.0, php-7.2.25, php-7.3.12, php-7.4.0RC6, php-7.3.12RC1, php-7.2.25RC1, php-7.4.0RC5, php-7.1.33, php-7.2.24, php-7.3.11, php-7.4.0RC4, php-7.3.11RC1, php-7.2.24RC1, php-7.4.0RC3, php-7.2.23, php-7.3.10, php-7.4.0RC2, php-7.2.23RC1, php-7.3.10RC1, php-7.4.0RC1, php-7.1.32, php-7.2.22, php-7.3.9, php-7.4.0beta4, php-7.2.22RC1, php-7.3.9RC1, php-7.4.0beta2, php-7.1.31, php-7.2.21, php-7.3.8, php-7.4.0beta1, php-7.2.21RC1, php-7.3.8RC1, php-7.4.0alpha3, php-7.3.7, php-7.2.20, php-7.4.0alpha2, php-7.3.7RC3, php-7.3.7RC2, php-7.2.20RC2, php-7.4.0alpha1, php-7.3.7RC1, php-7.2.20RC1, php-7.2.19, php-7.3.6, php-7.1.30, php-7.2.19RC1, php-7.3.6RC1, php-7.1.29, php-7.2.18, php-7.3.5, php-7.2.18RC1, php-7.3.5RC1, php-7.2.17, php-7.3.4, php-7.1.28, php-7.3.4RC1, php-7.2.17RC1, php-7.1.27, php-7.3.3, php-7.2.16, php-7.3.3RC1, php-7.2.16RC1, php-7.2.15, php-7.3.2, php-7.2.15RC1, php-7.3.2RC1, php-5.6.40, php-7.1.26, php-7.3.1, php-7.2.14, php-7.2.14RC1, php-7.3.1RC1, php-5.6.39, php-7.1.25, php-7.2.13, php-7.0.33, php-7.3.0, php-7.1.25RC1, php-7.2.13RC1, php-7.3.0RC6, php-7.1.24, php-7.2.12, php-7.3.0RC5, php-7.1.24RC1, php-7.2.12RC1, php-7.3.0RC4, php-7.1.23, php-7.2.11, php-7.3.0RC3, php-7.1.23RC1, php-7.2.11RC1, php-7.3.0RC2, php-5.6.38, php-7.1.22, php-7.3.0RC1, php-7.2.10, php-7.0.32, php-7.1.22RC1, php-7.3.0beta3, php-7.2.10RC1, php-7.1.21, php-7.2.9, php-7.3.0beta2, php-7.1.21RC1, php-7.3.0beta1, php-7.2.9RC1, php-5.6.37, php-7.1.20, php-7.3.0alpha4, php-7.0.31, php-7.2.8, php-7.1.20RC1, php-7.2.8RC1, php-7.3.0alpha3, php-7.3.0alpha2, php-7.1.19, php-7.2.7, php-7.1.19RC1, php-7.3.0alpha1, php-7.2.7RC1, php-7.1.18, php-7.2.6, php-7.2.6RC1, php-7.1.18RC1, php-5.6.36, php-7.2.5, php-7.1.17, php-7.0.30, php-7.1.17RC1, php-7.2.5RC1, php-5.6.35, php-7.0.29, php-7.2.4, php-7.1.16, php-7.1.16RC1, php-7.2.4RC1, php-7.1.15, php-5.6.34, php-7.2.3, php-7.0.28, php-7.2.3RC1, php-7.1.15RC1, php-7.1.14, php-7.2.2, php-7.1.14RC1, php-7.2.2RC1, php-7.1.13, php-5.6.33, php-7.2.1, php-7.0.27, php-7.2.1RC1, php-7.1.13RC1, php-7.0.27RC1, php-7.2.0, php-7.1.12, php-7.0.26, php-7.1.12RC1, php-7.2.0RC6, php-7.0.26RC1
# fc169d21 30-Oct-2017 Jakub Zelenka

Prevent leaking x509 and csr resources if it is not requested

All functions using php_openssl_x509_from_zval or php_openssl_csr_from_zval
with makeresource equal to 0 do not deref the re

Prevent leaking x509 and csr resources if it is not requested

All functions using php_openssl_x509_from_zval or php_openssl_csr_from_zval
with makeresource equal to 0 do not deref the resource which means there
is a leak till the end of the request. This can cause issues for long
running apps. It is a generic solution for bug #75363 which also covers
other functions.

show more ...


# 51ea2cfb 27-Oct-2017 Fabien Villepinte

Fix bug #75307 Wrong reflection for openssl_open function


Revision tags: php-7.1.11, php-5.6.32, php-7.2.0RC5, php-7.0.25
# 999fe36d 15-Oct-2017 Jakub Zelenka

Properly fix #75363 and address some other leaks with cert


# a55af1e2 12-Oct-2017 Bob Weinand

Fixed bug #75363 (openssl_x509_parse leaks memory)


Revision tags: php-7.1.11RC1, php-7.2.0RC4, php-7.0.25RC1, php-7.1.10, php-7.2.0RC3, php-7.0.24, php-7.2.0RC2, php-7.1.10RC1, php-7.0.24RC1, php-7.1.9, php-7.2.0RC1, php-7.0.23, php-7.1.9RC1, php-7.2.0beta3, php-7.0.23RC1, php-7.1.8, php-7.2.0beta2, php-7.0.22, php-7.1.8RC1, php-7.2.0beta1, php-7.0.22RC1, php-5.6.31, php-7.0.21, php-7.1.7, php-7.2.0alpha3, php-7.1.7RC1, php-7.0.21RC1, php-7.2.0alpha2
# 73cabfed 20-Jun-2017 Stanislav Malyshev

Fix bug #74651 - check EVP_SealInit as it can return -1


# 89637c6b 20-Jun-2017 Stanislav Malyshev

Fix bug #74651 - check EVP_SealInit as it can return -1


Revision tags: php-7.1.6
# f19dfac8 06-Jun-2017 Jelle van der Waa

openssl: Fix spkstr and spki leak in openssl_spki_new

spkstr is not free'd when running the test and valgrind reports a leak
of 32,318 bytes. The free condition is not met since keyresou

openssl: Fix spkstr and spki leak in openssl_spki_new

spkstr is not free'd when running the test and valgrind reports a leak
of 32,318 bytes. The free condition is not met since keyresource is not
NULL, apart from that OPENSSL_free actually free's the allocated memory
by OPENSSL_malloc inside OpenSSL.

Valgrind reports 768 bytes leaked in openssl_spki_new when running the
testsuite. Remove the keyresource check to always free spki.

show more ...


Revision tags: php-7.2.0alpha1, php-7.0.20
# 37049476 04-Jun-2017 Jakub Zelenka

Replace ASN1_STRING_data with ASN1_STRING_get0_data

This is a slightly modified version of the patch from Jelle van der Waa
( @jelly ) so full credit to him.


Revision tags: php-7.1.6RC1, php-7.0.20RC1
# 464c1639 18-May-2017 Anatol Belski

follow up fix on bug #74022


Revision tags: php-7.1.5, php-7.0.19
# a0b9554f 27-Apr-2017 Jakub Zelenka

Fix possible memory leak in openssl_encrypt and openssl_decrypt


Revision tags: php-7.0.19RC1, php-7.1.5RC1, php-7.1.4, php-7.0.18, php-7.1.4RC1, php-7.0.18RC1, php-7.1.3, php-7.0.17, php-7.1.3RC1, php-7.0.17RC1, php-7.1.2, php-7.0.16, php-7.0.16RC1, php-7.1.2RC1, php-5.6.30, php-7.0.15, php-5.6.30RC1, php-7.1.1RC1, php-7.0.15RC1, php-7.1.1, php-5.6.29, php-7.0.14, php-7.1.0, php-5.6.29RC1, php-7.0.14RC1, php-7.1.0RC6, php-5.6.28, php-7.0.13, php-5.6.28RC1, php-7.1.0RC5, php-7.0.13RC1, php-7.1.0RC4, php-5.6.27, php-7.0.12, php-7.1.0RC3, php-5.6.27RC1, php-7.0.12RC1, php-5.6.26, php-7.1.0RC2, php-7.0.11, php-5.6.26RC1, php-7.1.0RC1, php-7.0.11RC1, php-7.1.0beta3, php-5.6.25, php-7.0.10, php-7.1.0beta2, php-5.6.25RC1
# c0203c0c 03-Aug-2016 Jakub Zelenka

Do not add already added object to the internal OpenSSL table

This fixes OpenSSL 1.1 where adding object with OID that has been
already added causes an error - preventing of duplication.


# 9fa34799 24-Apr-2017 Jakub Zelenka

Fix bug #73833 (null character not allowed in openssl_pkey_get_private)


# 366b1640 23-Apr-2017 Jakub Zelenka

Fix bug #73711 (Segfault in openssl_pkey_new when generating DSA or DH key)


# 42e576ac 10-Apr-2017 Xinchen Hui

Fixed bug #74402 (segfault on random_bytes, bin2hex, openssl_seal)


# cdc33251 07-Apr-2017 Jakub Zelenka

Add OpenSSL 1.1.0 support to PHP 7.0


# 46d28657 30-Mar-2017 Moritz Fain

Fixed bug #74341

Added support for ASN.1 UTCTime without seconds part (being 11 characters
long instead of 13).

Additionally, fixed incorrect handling of DST on systems without

Fixed bug #74341

Added support for ASN.1 UTCTime without seconds part (being 11 characters
long instead of 13).

Additionally, fixed incorrect handling of DST on systems without gmtoff.

show more ...


# 6fc0ae63 02-Feb-2017 Anatol Belski

Fixed #74022 PHP Fast CGI crashes when reading from a pfx file.


# e7e96fe2 18-Jan-2017 Leigh

Change free to OPENSSL_free


# 21f28791 07-Jan-2017 Leigh

Remove superfluous variable reinit


# 62e9e1fe 06-Jan-2017 Leigh

Some commentary, change free method


# 9a0dac12 06-Jan-2017 Leigh

Conditionally free depending on how assignment happened


# 053b9661 06-Jan-2017 Leigh

Fix memleaks from #1755 and some pre-existing ones


# 2d424239 06-Jan-2017 Joe Watkins

Merge branch 'pull-request/1755'

* pull-request/1755:
Fix bug #71519 Add 'serialNumberHex' variable to openssl_x509_parse


# 478f119a 04-Jan-2017 Sammy Kaye Powers

Update copyright headers to 2017


# 493b2bff 06-Nov-2016 Jakub Zelenka

Fix bug #72776 (Invalid parameter in memcpy function trough openssl_pbkdf2)


12345678910>>...19