[Bug 47899] New: Review the VM name validation

WineHQ Bugzilla wine-bugs at winehq.org
Sun Oct 6 06:06:10 CDT 2019


https://bugs.winehq.org/show_bug.cgi?id=47899

            Bug ID: 47899
           Summary: Review the VM name validation
           Product: Wine-Testbot
           Version: unspecified
          Hardware: x86
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: unknown
          Assignee: wine-bugs at winehq.org
          Reporter: fgouget at codeweavers.com
      Distribution: ---

The web interface allows the creation of VMs that have dashes in their name.
But when untainting its parameters LibvirtTool considers such names to be
invalid, so that trying to revert these VMm fails.

There is a VM::Validate() method that should validate the VM name among others,
but obviously it cannot be used to check and untaint script parameters.

So the VM name validation criterions need to be checked and a standard function
provided.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list