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]

 



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

--
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