From: Doug Goldstein Date: Mon, 30 Sep 2013 21:24:02 +0000 (-0500) Subject: VMX: Serial devices don't have to be attached X-Git-Tag: CVE-2013-4401~80 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=541a761bc9c1ca3fb38e553dc0fe2581414d45a2;p=thirdparty%2Flibvirt.git VMX: Serial devices don't have to be attached Serial devices don't necessarily have to be attached to an output to be shown to the guest. --- diff --git a/src/vmx/vmx.c b/src/vmx/vmx.c index 9906a9cc50..36bc33886b 100644 --- a/src/vmx/vmx.c +++ b/src/vmx/vmx.c @@ -2717,7 +2717,7 @@ virVMXParseSerial(virVMXContext *ctx, virConfPtr conf, int port, } /* vmx:fileName -> def:data.file.path */ - if (virVMXGetConfigString(conf, fileName_name, &fileName, false) < 0) { + if (virVMXGetConfigString(conf, fileName_name, &fileName, true) < 0) { goto cleanup; }