diff options
| author | Jay Freeman (saurik) <saurik@saurik.com> | 2016-08-27 00:50:04 -0700 |
|---|---|---|
| committer | Jay Freeman (saurik) <saurik@saurik.com> | 2016-08-27 00:50:04 -0700 |
| commit | 10ca2b00cab7b80e2275a41fe11205676ee65ead (patch) | |
| tree | b76dfebbf545211ad225f00f854f7adf581e0fb9 | |
| parent | 1acc78fbd43e2ba8abe85b8c4cc6a73e360eb936 (diff) | |
| download | ldid-10ca2b00cab7b80e2275a41fe11205676ee65ead.tar.gz ldid-10ca2b00cab7b80e2275a41fe11205676ee65ead.zip | |
Fix requirement allocation (covered by 0x3000 :/).
| -rw-r--r-- | ldid.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1505,7 +1505,7 @@ std::vector<char> 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(); |
