Date: Fri, 7 Mar 2008 13:13:18 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/ddb db_input.c Message-ID: <200803071313.m27DDIhv044794@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2008-03-07 13:13:18 UTC FreeBSD src repository Modified files: sys/ddb db_input.c Log: 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> Revision Changes Path 1.39 +4 -1 src/sys/ddb/db_input.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803071313.m27DDIhv044794>