Thanks - I pushed this as:
521e69f7..24217480 master -> master
I changed patch 3 to include your recommendations. But also I noticed
there was a mistake in the memcpy which I hope I fixed and it's worth
reading the comment about this:
https://gitlab.com/nbdkit/nbdkit/-/blob/2421748073b71ab600db50f748a53b8f3...
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Read my programming and virtualization blog:
http://rwmj.wordpress.com
virt-builder quickly builds VMs from scratch
http://libguestfs.org/virt-builder.1.html