Prevent line input buffer overflow.