Handled buffer overflow of endOfLineBuf