eina file: Fix rare crash in line iteration
authorJean-Philippe Andre <jp.andre@samsung.com>
Mon, 3 Jul 2017 07:22:01 +0000 (16:22 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Mon, 3 Jul 2017 07:23:40 +0000 (16:23 +0900)
commitdaf87093f85972fc595560a3ac8537b6c74e01b0
treefdb4388e07a227da6cb0d8bf0c672012345717c6
parent8906867500ff0ad5eea9e8a45a8580aca3c2267d
eina file: Fix rare crash in line iteration

I'm not sure about the rest of this code, so it's possible that
the index is increased even if it shouldn't. But I've observed
a crash at this line, apparently when reaching the end pointer.
src/lib/eina/eina_file_common.c