dpkg-parsechangelog() just stops reading at any invalid line in the reset state. behave the same way