[Libguestfs] [PATCH 4/4] Go bindings: fix "C array of strings" -- char** -- allocation

Richard W.M. Jones rjones at redhat.com
Mon Sep 20 11:03:51 UTC 2021


On Mon, Sep 20, 2021 at 11:37:02AM +0100, Daniel P. Berrangé wrote:
> What distro / go version do you see this on, as I can't reproduce
> this pointer problem with a standalone demo app ?

For me this started to happen after upgrading to
golang-bin-1.17-2.fc36.x86_64 in Rawhide.  It also caused this error:

https://gitlab.com/nbdkit/libnbd/-/commit/a550beef2a941fe21d4f834775d73570099dc12a

Fixed by looking at what libvirt-go was doing ...

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
libguestfs lets you edit virtual machines.  Supports shell scripting,
bindings from many languages.  http://libguestfs.org




More information about the Libguestfs mailing list