mirror of
https://github.com/php/php-src.git
synced 2024-09-21 09:57:23 +00:00
- Fixed bug #53136 (Invalid read on openssl_csr_new())
This commit is contained in:
parent
3332c5be08
commit
c095bec250
1
NEWS
1
NEWS
@ -81,6 +81,7 @@
|
||||
- Fixed bug #53144 (Segfault in SplObjectStorage::removeAll()). (Felipe)
|
||||
- Fixed bug #53141 (autoload misbehaves if called from closing session).
|
||||
(ladislav at marek dot su)
|
||||
- Fixed bug #53136 (Invalid read on openssl_csr_new()). (Felipe)
|
||||
- Fixed bug #53071 (SPLObjectStorage defeats gc_collect_cycles). (Gustavo)
|
||||
- Fixed bug #53006 (stream_get_contents has an unpredictable behavior when the
|
||||
underlying stream does not support seeking). (Gustavo)
|
||||
|
@ -2117,7 +2117,8 @@ static int php_openssl_make_REQ(struct php_x509_request * req, X509_REQ * csr, z
|
||||
if (attribs) {
|
||||
zend_hash_internal_pointer_reset_ex(HASH_OF(attribs), &hpos);
|
||||
while(zend_hash_get_current_data_ex(HASH_OF(attribs), (void**)&item, &hpos) == SUCCESS) {
|
||||
char * strindex; uint strindexlen;
|
||||
char *strindex = NULL;
|
||||
uint strindexlen;
|
||||
ulong intindex;
|
||||
|
||||
zend_hash_get_current_key_ex(HASH_OF(attribs), &strindex, &strindexlen, &intindex, 0, &hpos);
|
||||
|
Loading…
Reference in New Issue
Block a user