fix data overflow checks in ParseSimpleArchive