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

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

On Mon, Sep 20, 2021 at 01:33:31PM +0100, Daniel P. Berrangé wrote:
> Is my test scearnio there representative of what the failing test
> case is doing ?  Or is perhaps the C function calling back into
> the Go code ?

The difference could be that we use the following environment variable
when running tests:

  export GODEBUG=cgocheck=2

Also could you try compiling libnbd after reverting
and see if you can reproduce the libnbd error?


Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
Fedora Windows cross-compiler. Compile Windows programs, test, and
build Windows installers. Over 100 libraries supported.

More information about the Libguestfs mailing list