1
0
mirror of https://github.com/upx/upx synced 2025-10-05 19:20:23 +08:00

Added an assertion for Packer::getVersion() >= 11.

committer: mfx <mfx> 976778554 +0000
This commit is contained in:
Markus F.X.J. Oberhumer 2000-12-14 07:22:34 +00:00
parent 079461efdc
commit 4b8385856e

View File

@ -208,6 +208,7 @@ static Packer *getUnpacker(InputFile *f)
static void assertPacker(const Packer *p) static void assertPacker(const Packer *p)
{ {
assert(p->getVersion() >= 11);
assert(strlen(p->getName()) <= 13); assert(strlen(p->getName()) <= 13);
} }