info: protect cutAtFirstEOL against invalid input and zero length
authorFerry Huberts <ferry.huberts@pelagic.nl>
Thu, 8 Dec 2016 07:49:27 +0000 (08:49 +0100)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Wed, 4 Jan 2017 08:47:10 +0000 (09:47 +0100)
commit4e5b4164c1ccc5813dfbc62c8fd83039f6bd4f2d
treec4be7619f38f48f853f313c19e2420504facc6a1
parent8560212cbb078b992a5cb3f2fa50bf845442cbc6
info: protect cutAtFirstEOL against invalid input and zero length

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
lib/info/olsrd_info.c