Fix an infinite loop when parsing an INFO tag.

Fixes #472.
Can you please split this to one test per file?