mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
Merge branch 'PHP-5.6'
* PHP-5.6: fix crash in MINFO when no mysqlnd plugins are loaded
This commit is contained in:
commit
a35723f6e1
@ -111,7 +111,7 @@ mysqlnd_minfo_dump_api_plugins(smart_str * buffer TSRMLS_DC)
|
||||
MYSQLND_REVERSE_API **ext;
|
||||
|
||||
for (zend_hash_internal_pointer_reset_ex(ht, &pos);
|
||||
zend_hash_get_current_data_ex(ht, (void **) &ext, &pos);
|
||||
zend_hash_get_current_data_ex(ht, (void **) &ext, &pos) == SUCCESS;
|
||||
zend_hash_move_forward_ex(ht, &pos)
|
||||
) {
|
||||
if (buffer->len) {
|
||||
|
Loading…
Reference in New Issue
Block a user