Repository navigation
Commit 036fe4e
committed
fix(runtime): read no inspector flags from a nil Arguments array
Config.Arguments is optional, but ArgumentsCount was handed to the
inspector as is, so a nil array with a count above one made debug
startup index a null argv. Pass a count of 0 when the array is nil;
the argv loop keeps the C contract and trusts the count it is given.1 parent d02c8e4 commit 036fe4e
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
184 | 184 | | |
185 | 185 | | |
186 | 186 | | |
187 | | - | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
188 | 190 | | |
189 | 191 | | |
190 | 192 | | |
| |||
0 commit comments