DragonFly commits List (threaded) for 2007-01
DragonFly BSD
DragonFly commits List (threaded) for 2007-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/bin/sh input.c


From: Peter Avalos <pavalos@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 13 Jan 2007 12:10:26 -0800 (PST)

pavalos     2007/01/13 12:10:26 PST

DragonFly src repository

  Modified files:
    bin/sh               input.c 
  Log:
  Check the buffer size when copying the line returned by el_gets() into our
  own buffer.  Interactively typing in long lines (>1023 characters)
  previously overflowed the buffer.
  
  Obtained-from:  FreeBSD
  
  Revision  Changes    Path
  1.8       +15 -6     src/bin/sh/input.c


http://www.dragonflybsd.org/cvsweb/src/bin/sh/input.c.diff?r1=1.7&r2=1.8&f=u



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]