Check the buffer size when copying the line returned by el_gets() into our
authorPeter Avalos <pavalos@dragonflybsd.org>
Sat, 13 Jan 2007 20:10:26 +0000 (20:10 +0000)
committerPeter Avalos <pavalos@dragonflybsd.org>
Sat, 13 Jan 2007 20:10:26 +0000 (20:10 +0000)
commite75cae5d5602bc7e1b0efe49908afed59b1f39eb
tree00b96f7f518c5d8b2678648f28c78838686505d7
parentdae86e2765e6eca9f2d220b228e9e267d3163226
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
bin/sh/input.c