mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Merge branch 'PHP-8.2'
This commit is contained in:
commit
3db32439f9
2 changed files with 5 additions and 1 deletions
|
@ -143,7 +143,11 @@ PHPDBG_API int phpdbg_vprint(int type, int fd, const char *strfmt, va_list args)
|
|||
return msglen;
|
||||
}
|
||||
|
||||
len = phpdbg_process_print(fd, type, msg, msglen);
|
||||
if (UNEXPECTED(msglen == 0)) {
|
||||
len = 0;
|
||||
} else {
|
||||
len = phpdbg_process_print(fd, type, msg, msglen);
|
||||
}
|
||||
|
||||
if (msg) {
|
||||
free(msg);
|
||||
|
|
BIN
sapi/phpdbg/tests/gh10715.phpt
Normal file
BIN
sapi/phpdbg/tests/gh10715.phpt
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue