From 10ca2b00cab7b80e2275a41fe11205676ee65ead Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Sat, 27 Aug 2016 00:50:04 -0700 Subject: Fix requirement allocation (covered by 0x3000 :/). --- ldid.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ldid.cpp') diff --git a/ldid.cpp b/ldid.cpp index 7e4dd03..0c70b40 100644 --- a/ldid.cpp +++ b/ldid.cpp @@ -1505,7 +1505,7 @@ std::vector Sign(const void *idata, size_t isize, std::streambuf &output, special = std::max(special, CSSLOT_REQUIREMENTS); alloc += sizeof(struct BlobIndex); - if (!requirement.empty()) + if (requirement.empty()) alloc += 0xc; else alloc += requirement.size(); -- cgit v1.2.3-56-ge451