fix(apple): account for repeated archive projections

This commit is contained in:
morluto
2026-10-09 06:32:10 +08:00
parent d575a7340b
commit e1df5e8555
7 changed files with 391 additions and 70 deletions
+1 -1
View File
@@ -395,7 +395,7 @@ const readValue = (
`value ${index} data`,
);
budget.reserve(
32 + Math.ceil((length * 4) / 3),
32 + 4 * Math.ceil(length / 3),
`NIBArchive data value ${index} exceeds the aggregate Interface Builder decode budget`,
);
const encoded = bytes.subarray(cursor.offset, next).toString("base64");