[Libguestfs] [nbdkit PATCH 3/4] server: Close backends if a filter's .open fails

Eric Blake eblake at redhat.com
Thu Oct 3 20:48:55 UTC 2019


On 10/3/19 2:38 PM, Richard W.M. Jones wrote:
> 
> $ ./nbdkit -s memory 1M < fuzzing/testcase_dir/newstyle-cflags
> NBDMAGICIHAVEOPTnbdkit: plugins.c:274: plugin_close: Assertion `connection_get_handle (conn, 0)' failed.
> Aborted (core dumped)
> 
> git bisect implicates this patch:
> 
> 2f80ce1209d5898cb9a567c0b29e7736ff4d03eb is the first bad commit

Yep, I see it.  More patches coming (we need to better track when .open 
and .prepare have succeeded, so that .finalize and .close are only 
called on valid handles).

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3226
Virtualization:  qemu.org | libvirt.org




More information about the Libguestfs mailing list