Date: Mon, 10 Mar 2008 10:23:37 +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: <200803101023.m2AANbwn071648@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2008-03-10 10:23:37 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/ddb db_input.c Log: Merge db_input.c:1.39 from HEAD to RELENG_6: 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. PR: 119079 Submitted by: Michael Plass <mfp49_freebsd@plass-family.net> Revision Changes Path 1.36.2.2 +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?200803101023.m2AANbwn071648>