From 4523da1480b5f40a6d77adf2af479c8598a5efdf Mon Sep 17 00:00:00 2001 From: midipix Date: Fri, 2 Feb 2024 00:30:00 +0000 Subject: mdso_argen_common(): do not zero pad past the last member to 16-byte boundary. --- src/archive/mdso_argen_common.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src') 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); -- cgit v1.2.3