Date: Mon, 10 Mar 2008 10:24:12 +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: <200803101024.m2AAOCkR071682@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2008-03-10 10:24:12 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_5)
sys/ddb db_input.c
Log:
Merge db_input.c:1.39 from HEAD to RELENG_5:
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.35.4.3 +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?200803101024.m2AAOCkR071682>
