mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
warn about corrupt archive
This commit is contained in:
parent
65ac0eca15
commit
22d7d2428a
1 changed files with 8 additions and 0 deletions
|
@ -736,6 +736,10 @@ static unsigned encodingVersion;
|
|||
(*desImp)(src, desSel, &big, @encode(int64_t), &cursor, nil);
|
||||
break;
|
||||
}
|
||||
|
||||
default:
|
||||
[NSException raise: NSGenericException
|
||||
format: @"invalid size in archive"];
|
||||
}
|
||||
/*
|
||||
* Now we copy from the big value to the destination location.
|
||||
|
@ -810,6 +814,10 @@ static unsigned encodingVersion;
|
|||
(*desImp)(src, desSel, &big, @encode(uint64_t), &cursor, nil);
|
||||
break;
|
||||
}
|
||||
|
||||
default:
|
||||
[NSException raise: NSGenericException
|
||||
format: @"invalid size in archive"];
|
||||
}
|
||||
/*
|
||||
* Now we copy from the big value to the destination location.
|
||||
|
|
Loading…
Reference in a new issue