[libvirt] [PATCH v2] qemu: Don't crash when parsing command line lacking -M
Andrea Bolognani
abologna at redhat.com
Wed Oct 11 06:43:34 UTC 2017
On Tue, 2017-10-10 at 14:15 -0400, John Ferlan wrote:
> [...]
>
> while scanning....
>
> > + } else if (STREQ(arg, "-M") ||
> > + STREQ(arg, "-machine")) {
> > + // This option has already been processed before entering this
> > + // loop, so we just need to skip its argument and move along
>
> I saw // instead of /* ... */
Yup, no idea how that could happen.
Nice catch, I'll fix it before pushing.
--
Andrea Bolognani / Red Hat / Virtualization
More information about the libvir-list
mailing list