Commit 946f4de
committed
descriptor: require an extra byte to generate raw expressions
raw() with no arguments generates a zero length script. Ensure we tell
the caller they need at least one byte of generation space for this
case, otherwise they would be passing an invalid (empty) output buffer.1 parent bdde10c commit 946f4de
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2546 | 2546 | | |
2547 | 2547 | | |
2548 | 2548 | | |
2549 | | - | |
2550 | 2549 | | |
| 2550 | + | |
| 2551 | + | |
| 2552 | + | |
| 2553 | + | |
| 2554 | + | |
2551 | 2555 | | |
2552 | 2556 | | |
2553 | 2557 | | |
| |||
0 commit comments