cvs commit: src/bin/sh input.c

Peter Avalos pavalos at
Sat Jan 13 12:11:13 PST 2007

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

DragonFly src repository

  Modified files:
    bin/sh               input.c 
  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

More information about the Commits mailing list