Commit 9b7a6a99807862778706c455d6ba361a3b1f8f7b

Carlos Martín Nieto 2011-04-04T16:17:39

config: check for EOF before newline If a line ends at EOF there is no need to check for the newline character and doing so will cause us to read memory beyond the allocatd memory as we check for the Windows-style new-line, which is two bytes long. Signed-off-by: Carlos Martín Nieto <cmn@elego.de>