]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Merge db_input.c:1.39 from HEAD to RELENG_6:
authorrwatson <rwatson@FreeBSD.org>
Mon, 10 Mar 2008 10:23:37 +0000 (10:23 +0000)
committerrwatson <rwatson@FreeBSD.org>
Mon, 10 Mar 2008 10:23:37 +0000 (10:23 +0000)
commite3589b2a7f05c134a61220ad40475981ebddac10
tree842e724b5a121543ca797c447e76502fd2d061a4
parent3d9f1f5c366a948311883082a5e366b065f99713
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>
sys/ddb/db_input.c