ref: 0139ee45f197942d81737539f64d9723968181ba
parent: 6fb3068098ac00cf2ebe8c5ec6b463a145662f92
author: Ori Bernstein <ori@markovcorp.com>
date: Mon Feb 13 13:15:38 EST 2017
Initialize size correctly.
--- a/6/blob.c
+++ b/6/blob.c
@@ -269,9 +269,9 @@
case Otup:
case Oarr:
/* Assumption: We sorted this while folding */
+ sz = 0;
if (!n->expr.args)
break;
- sz = 0;
for (i = 0; i < n->expr.nargs; i++) {
end = alignto(sz, exprtype(n->expr.args[i]));
sz += blobpad(b, end - sz);