diff options
author | midipix <writeonce@midipix.org> | 2024-02-02 00:30:00 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2024-02-02 00:30:00 +0000 |
commit | 4523da1480b5f40a6d77adf2af479c8598a5efdf (patch) | |
tree | 21cb995bc9b17dd2c591e75b9df71080e6a41054 /src | |
parent | 1a16fbae9904c4cdd5786dba163e5e82e693f756 (diff) | |
download | mdso-4523da1480b5f40a6d77adf2af479c8598a5efdf.tar.bz2 mdso-4523da1480b5f40a6d77adf2af479c8598a5efdf.tar.xz |
mdso_argen_common(): do not zero pad past the last member to 16-byte boundary.
Diffstat (limited to 'src')
-rw-r--r-- | src/archive/mdso_argen_common.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/archive/mdso_argen_common.c b/src/archive/mdso_argen_common.c index 2523efd..26283c2 100644 --- a/src/archive/mdso_argen_common.c +++ b/src/archive/mdso_argen_common.c @@ -138,10 +138,6 @@ int mdso_argen_common( objlen += sizeof(uint32_t) * (1 + mapstrsnum); objlen += mapstrslen; - objlen += 15; - objlen |= 15; - objlen ^= 15; - /* archive meta info, in-memory mapping */ if (vobj->addr && (vobj->size < objlen)) return MDSO_BUFFER_ERROR(dctx); |