diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2019-12-20 14:03:58 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2019-12-20 16:45:34 +0100 |
| commit | 4bba9fd1629d5351877b21fc662a125342a18a9e (patch) | |
| tree | bbee30c169eb63b2aa03d7bd679a0c647f0d66c3 /pkg/compiler/testdata | |
| parent | 5655dc58a995a043316c35b1114f84bdbf3da78c (diff) | |
pkg/compiler: fix alignment of string-formatted values
We used size as alignment, this is very wrong.
Found thanks to syz-check. Update #590
Diffstat (limited to 'pkg/compiler/testdata')
| -rw-r--r-- | pkg/compiler/testdata/all.txt | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/pkg/compiler/testdata/all.txt b/pkg/compiler/testdata/all.txt index 380d65319..9d94a81a1 100644 --- a/pkg/compiler/testdata/all.txt +++ b/pkg/compiler/testdata/all.txt @@ -265,7 +265,12 @@ s3 { f1 int8 } [size[100]] -foo$s0(a ptr[in, s0], b ptr[in, s1], c ptr[in, s2]) +s4 { + f1 fmt[hex, int32] + f2 int8 +} [size[19]] + +foo$s0(a ptr[in, s0], b ptr[in, s1], c ptr[in, s2], d ptr[in, s4]) # Unions. |
