We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10c27c5 commit 23a8883Copy full SHA for 23a8883
tlb/tuple.go
@@ -14,9 +14,13 @@ func (t *VmStkTuple) Unmarshal(v any) error {
14
case reflect.Slice:
15
items, err := t.RecursiveToSlice()
16
if err != nil {
17
- items, err = t.Data.RecursiveToSlice(int(t.Len))
18
- if err != nil {
19
- return err
+ if t.Data != nil {
+ items, err = t.Data.RecursiveToSlice(int(t.Len))
+ if err != nil {
20
+ return err
21
+ }
22
+ } else {
23
+ items = []VmStackValue{}
24
}
25
26
sl := reflect.MakeSlice(val.Elem().Type(), 0, len(items))
0 commit comments