Re: [PATCH v2] qemu: Don't crash when parsing command line lacking -M

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[...]

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 /* ... */


> +            WANT_VALUE();
>          } else {
>              argRecognized = false;
>          }

John

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux