
buf needs to null-terminated line processing uses strcmp and regex. Thus, we should only read sizeof(buf) - 1 bytes to ensure we can null-terminate the buffer. Change-Id: I1f424b8097318eade58723818bfa154c3115d37e Signed-off-by: Elliot Berman <quic_eberman@quicinc.com>