[Libguestfs] [PATCH nbdkit] Fix --dump-plugin on perl, python and ruby plugins.
Eric Blake
eblake at redhat.com
Wed Mar 7 14:41:21 UTC 2018
On 03/06/2018 07:15 AM, Richard W.M. Jones wrote:
> Previously doing:
>
> nbdkit python --dump-plugin
>
> would segfault since the script was not loaded. It was possible to
> work around this using:
>
> nbdkit python test.py --dump-plugin
>
> assuming that you had a Python script to use.
>
> Change the code so that the original command (without the script name)
> doesn't segfault.
> ---
> plugins/perl/perl.c | 2 +-
> plugins/python/python.c | 2 +-
> plugins/ruby/ruby.c | 4 +---
> 3 files changed, 3 insertions(+), 5 deletions(-)
>
ACK
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization: qemu.org | libvirt.org
More information about the Libguestfs
mailing list