decompress_iob(): Don't advance cur past eod
authorFabian Keil <fk@fabiankeil.de>
Mon, 8 Feb 2021 09:59:23 +0000 (10:59 +0100)
committerFabian Keil <fk@fabiankeil.de>
Sun, 21 Feb 2021 16:30:16 +0000 (17:30 +0100)
commitebf8e996becaa6488e2d1e6073db0d3da5971beb
treed84b2d7e799edbebcce8526167a2c6ffb5836726
parent9788f97d68076acffc11da82a9c65f06cd661b15
decompress_iob(): Don't advance cur past eod

... when looking for the end of the file name and comment.

I could not come up with a test case where the previous
behaviour resulted in reading of uninitialized data but
advancing past eod still seems wrong.
parsers.c