ReadUInt32 leaves the variable alone if the record ends early. Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com> Change-Id: Id619384f2a266f14de73f7e49e01a160caa51245 Reviewed-on: https://gerrit.collaboraoffice.com/c/online/+/7868 Reviewed-by: Noel Grandin <noel.grandin@collabora.com> Tested-by: Jenkins CPCI <releng@collaboraoffice.com> (cherry picked from commit f2871abc29f699763afc17b993a9b382cf0ffae4) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/208700 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>