When the buffer is smaller than the filesize, it could happen that some data was not correctly parsed.
Authored by: timvh 2021-07-01
Parent: [r77]
Child: [r79]