summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-02-02 00:30:00 +0000
committermidipix <writeonce@midipix.org>2024-02-02 00:30:00 +0000
commit4523da1480b5f40a6d77adf2af479c8598a5efdf (patch)
tree21cb995bc9b17dd2c591e75b9df71080e6a41054 /src
parent1a16fbae9904c4cdd5786dba163e5e82e693f756 (diff)
downloadmdso-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.c4
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);