mirror of
https://github.com/php/php-src.git
synced 2024-09-22 02:17:32 +00:00
Fixed bug #53630 (Fixed parameter handling inside readline() function).
This commit is contained in:
parent
21fba3513a
commit
484a35373e
4
NEWS
4
NEWS
@ -76,6 +76,10 @@
|
||||
- PHP-FPM SAPI:
|
||||
. Fixed bug #53527 (php-fpm --test doesn't set a valuable return value). (fat)
|
||||
|
||||
- Readline extension:
|
||||
. Fixed bug #53630 (Fixed parameter handling inside readline() function).
|
||||
(jo at feuersee dot de, Ilia)
|
||||
|
||||
- SOAP extension:
|
||||
. Fixed possible crash introduced by the NULL poisoning patch.
|
||||
(Mateusz Kocielski, Pierre)
|
||||
|
@ -196,7 +196,7 @@ PHP_FUNCTION(readline)
|
||||
int prompt_len;
|
||||
char *result;
|
||||
|
||||
if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s!", &prompt, &prompt_len)) {
|
||||
if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s!", &prompt, &prompt_len)) {
|
||||
RETURN_FALSE;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user