all: more minor cleanups

This commit is contained in:
Markus F.X.J. Oberhumer
2023-05-27 22:58:07 +02:00
parent 09bd1d8c40
commit ebf0f2f68a
7 changed files with 55 additions and 50 deletions
+1
View File
@@ -686,6 +686,7 @@ bool Packer::readPackHeader(int len, bool allow_incompressible) {
}
void Packer::checkAlreadyPacked(const void *b, int blen) {
assert(blen >= 4);
int boff = find_le32(b, blen, UPX_MAGIC_LE32);
if (boff < 0)
return;