On 1/17/20 3:57 PM, George Dunlap wrote: > The current fromC array code will do the "magic" casting and > martialling even when num_foo variable is 0. Go crashes when doing > the cast. > > Only do array marshalling if the number of elements is non-zero; > otherwise, leave the target pointer empty (nil for Go slices, NULL for > C arrays). > > Signed-off-by: George Dunlap <george.dun...@citrix.com> > --- > v2: > - Remove toC part of this, which has been folded into Nick's patch > series.
Er, obviously the subject line should say "v2", for the whole series. :-/ -George _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel