freebsd-skq/sys/ddb
Robert Watson 233f8184ec Reserve two bytes at the end of the DDB input line in db_readline() to
hold the newline and nul terminator.  Otherwise, there are cases where
garbage may end up in the command history due to a lack of a nul
terminator, or input may end up without room for a newline.

MFC after:	3 days
PR:		119079
Submitted by:	Michael Plass <mfp49_freebsd@plass-family.net>
2008-03-07 13:13:17 +00:00
..
db_access.c
db_access.h
db_break.c
db_break.h
db_capture.c Increase maximum DDB capture buffer size to 5MB. 2008-01-26 23:02:14 +00:00
db_command.c
db_command.h
db_examine.c
db_expr.c
db_input.c Reserve two bytes at the end of the DDB input line in db_readline() to 2008-03-07 13:13:17 +00:00
db_lex.c
db_lex.h
db_main.c
db_output.c
db_output.h
db_print.c
db_ps.c
db_run.c
db_script.c
db_sym.c
db_sym.h
db_textdump.c Use dump_write() instead of direct calls to di->dumper() in textdumps. 2008-01-31 16:22:14 +00:00
db_thread.c
db_variables.c
db_variables.h
db_watch.c
db_watch.h
db_write_cmd.c
ddb.h