php-src/sapi/phpdbg
Niels Dossche 95889979f2
Fix GH-14553: Bug in phpdbg8.3 (also 8.1 and 8.2) echo output - trimmed at NULL byte (?)
This broke in 6318040df2 when phpdbg
stopped using its custom printing routines. By relying on standard
printing routines, the embedded NUL bytes are causing the strings to be
cut off, even when using %.*s. Solve this by going straight to the
output routine, which is what the printf routine would've done anyway.

Closes GH-14822.
2024-07-04 18:43:42 +02:00
..
tests Fix GH-14553: Bug in phpdbg8.3 (also 8.1 and 8.2) echo output - trimmed at NULL byte (?) 2024-07-04 18:43:42 +02:00
.gdbinit
.phpdbginit Trim trailing whitespace in source code files 2018-10-13 14:17:28 +02:00
config.m4 Set libtool tag per command instead of global one 2024-01-10 09:09:45 +01:00
config.w32 replace phpdbg custom opcode dumper with O+ dump (#7227) 2021-07-13 15:32:14 +02:00
create-test.php Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
CREDITS
Makefile.frag Drop test-phpdbg and clean-phpdbg targets 2021-05-14 12:20:00 +02:00
phpdbg.1.in Update year to 2024 2024-01-04 19:26:32 +01:00
phpdbg.c Fix GH-14553: Bug in phpdbg8.3 (also 8.1 and 8.2) echo output - trimmed at NULL byte (?) 2024-07-04 18:43:42 +02:00
phpdbg.h Replace php_stdint.h header with standard headers (#8613) 2022-05-29 11:20:56 +01:00
phpdbg.init.d Trim trailing whitespace in source code files 2018-10-13 14:17:28 +02:00
phpdbg.stub.php Declare phpdbg constants in stubs (#9392) 2022-08-21 19:05:17 +02:00
phpdbg_arginfo.h Do not generate CONST_CS when registering constants (#9439) 2022-08-28 08:27:19 +02:00
phpdbg_bp.c Merge branch 'PHP-8.1' into PHP-8.2 2022-12-30 06:53:44 +00:00
phpdbg_bp.h remove specialized printing from phpdbg (#7156) 2021-06-17 14:22:33 +02:00
phpdbg_break.c replace phpdbg custom opcode dumper with O+ dump (#7227) 2021-07-13 15:32:14 +02:00
phpdbg_break.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
phpdbg_btree.c Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
phpdbg_btree.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
phpdbg_cmd.c Fixed some spaces used instead of tabs 2021-06-29 11:30:26 +02:00
phpdbg_cmd.h remove specialized printing from phpdbg (#7156) 2021-06-17 14:22:33 +02:00
phpdbg_frame.c Fix GH-13827: Null pointer access of type 'zval' in phpdbg_frame 2024-03-29 17:54:23 +01:00
phpdbg_frame.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
phpdbg_help.c Fix GH-9669: phpdbg -h options doesn't list the -z option 2023-07-07 19:16:32 +02:00
phpdbg_help.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
phpdbg_info.c Use more compact representation for packed arrays. 2021-11-03 15:18:26 +03:00
phpdbg_info.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
phpdbg_io.c ditch remote 2021-06-13 21:08:35 +02:00
phpdbg_io.h ditch remote 2021-06-13 21:08:35 +02:00
phpdbg_lexer.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
phpdbg_lexer.l PHPDBG: fix bug parsing 3-word opcodes 2021-04-22 10:11:26 +02:00
phpdbg_list.c Support specifying start position in compile_string 2021-09-30 10:21:33 +02:00
phpdbg_list.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
phpdbg_out.c Fix GH-14553: Bug in phpdbg8.3 (also 8.1 and 8.2) echo output - trimmed at NULL byte (?) 2024-07-04 18:43:42 +02:00
phpdbg_out.h Fix GH-14553: Bug in phpdbg8.3 (also 8.1 and 8.2) echo output - trimmed at NULL byte (?) 2024-07-04 18:43:42 +02:00
phpdbg_parser.y Suppress unused-but-set-variable warning in parsers 2022-07-28 22:29:42 +02:00
phpdbg_print.c Use more compact representation for packed arrays. 2021-11-03 15:18:26 +03:00
phpdbg_print.h replace phpdbg custom opcode dumper with O+ dump (#7227) 2021-07-13 15:32:14 +02:00
phpdbg_prompt.c Fix GH-12962: Double free of init_file in phpdbg_prompt.c 2023-12-17 11:46:02 +01:00
phpdbg_prompt.h drop phpdbg web helper extension and wait command (#7144) 2021-06-13 14:02:11 +02:00
phpdbg_set.c replace phpdbg custom opcode dumper with O+ dump (#7227) 2021-07-13 15:32:14 +02:00
phpdbg_set.h replace phpdbg custom opcode dumper with O+ dump (#7227) 2021-07-13 15:32:14 +02:00
phpdbg_sigsafe.c Replace zend_bool uses with bool 2021-01-15 12:33:06 +01:00
phpdbg_sigsafe.h Replace zend_bool uses with bool 2021-01-15 12:33:06 +01:00
phpdbg_utils.c Fix phpdbg segmentation fault in case of malformed input 2023-01-17 14:12:49 +00:00
phpdbg_utils.h remove specialized printing from phpdbg (#7156) 2021-06-17 14:22:33 +02:00
phpdbg_watch.c Fix GH-13681: segfault when adding watchpoint fails. 2024-06-17 17:45:53 +01:00
phpdbg_watch.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
phpdbg_win.c Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
phpdbg_win.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
test.php Apply tidy formatting 2020-02-03 13:41:31 +01:00
web-bootstrap.php Rename non-existing site phpdbg.com to localhost 2019-02-19 20:21:20 +01:00