Commit 114e587
committed
Replace
Replace `mem:transmute` in `wrap_args` with safer options as without it:
$ frawk -Bcranelift 'BEGIN { printf("%d\t%f\t%s\n", integer, float, string); }'
would crash with:
failure in runtime invalid type code passed to printf_impl_file: 2. Halting execution
or with `invalid opcode` after cranelift update.
Fixes: #121mem:transmute in wrap_args with safer options1 parent 35de188 commit 114e587
2 files changed
Lines changed: 9 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1144 | 1144 | | |
1145 | 1145 | | |
1146 | 1146 | | |
| 1147 | + | |
1147 | 1148 | | |
1148 | | - | |
| 1149 | + | |
1149 | 1150 | | |
1150 | | - | |
| 1151 | + | |
| 1152 | + | |
| 1153 | + | |
| 1154 | + | |
| 1155 | + | |
| 1156 | + | |
1151 | 1157 | | |
1152 | 1158 | | |
1153 | 1159 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
0 commit comments