cvs commit: src/bin/sh input.c
Peter Avalos
pavalos at crater.dragonflybsd.org
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
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
More information about the Commits
mailing list