Check the buffer size when copying the line returned by el_gets() into our
commit370e3726652f11097035fc788c217434e4c2ee96
authorpavalos <pavalos>
Sat, 13 Jan 2007 20:10:26 +0000 (13 20:10 +0000)
committerpavalos <pavalos>
Sat, 13 Jan 2007 20:10:26 +0000 (13 20:10 +0000)
tree8f7aca1bbdf95c7b539aca8668d42060fcc62333
parent691e27759448faf8f87e1873d46e034e56168522
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