]> git.ipfire.org Git - thirdparty/libvirt.git/commit
xenParseSxprSound: Refactor parsing of model list
authorPeter Krempa <pkrempa@redhat.com>
Tue, 2 Mar 2021 11:04:41 +0000 (12:04 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 11 Mar 2021 17:00:35 +0000 (18:00 +0100)
commit8b0e845d6757f034277fe7161b54ff441995687e
treef865d80c9c2aa550a894e6970d462c623336343f
parentcd217e702cbff604ca6ffb6a75d691c1b2a00ab2
xenParseSxprSound: Refactor parsing of model list

Copy the input string so that we don't have to use a static buffer and
virStrncpy.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/libxl/xen_common.c