cvs commit: src/sys/ddb db_input.c
    Robert Watson 
    rwatson at FreeBSD.org
       
    Mon Mar 10 10:23:03 UTC 2008
    
    
  
rwatson     2008-03-10 10:23:03 UTC
  FreeBSD src repository
  Modified files:        (Branch: RELENG_7)
    sys/ddb              db_input.c 
  Log:
  Merge db_input.c:1.39 from HEAD to RELENG_7:
  
    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 at plass-family.net>
  
  Revision   Changes    Path
  1.36.10.2  +4 -1      src/sys/ddb/db_input.c
    
    
More information about the cvs-all
mailing list