aboutsummaryrefslogtreecommitdiffstats
path: root/prog/encodingexec.go
diff options
context:
space:
mode:
Diffstat (limited to 'prog/encodingexec.go')
-rw-r--r--prog/encodingexec.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/prog/encodingexec.go b/prog/encodingexec.go
index 99357dfd2..78eae81ae 100644
--- a/prog/encodingexec.go
+++ b/prog/encodingexec.go
@@ -275,6 +275,7 @@ func (w *execContext) writeArg(arg Arg) {
w.eof = true
} else {
copy(w.buf, data)
+ copy(w.buf[len(data):], make([]byte, 8))
w.buf = w.buf[padded:]
}
case *UnionArg: