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:
parent
079461efdc
commit
4b8385856e
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user