[Bug 51844] New: winedbg command line arguments are not quoted properly

WineHQ Bugzilla wine-bugs at winehq.org
Wed Oct 6 04:24:35 CDT 2021


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

            Bug ID: 51844
           Summary: winedbg command line arguments are not quoted properly
           Product: Wine
           Version: unspecified
          Hardware: x86-64
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: winedbg
          Assignee: wine-bugs at winehq.org
          Reporter: mail at robbertvanderhelm.nl
      Distribution: ---

The program name and command line arguments passed to `winedbg` and `winedbg
--gdb` are not quoted properly. Running `winedbg --gdb 'foo bar.exe' arg1 'arg
2'` will cause winedbg to execute `foo` with the arguments `bar.exe`, `arg1`,
`arg`, and `2`, instead of `foo bar.exe` being run with two arguments. This is
inconsistent with both regular `wine` invocations as well as with `gdb --args`.
Currently all of the remaining arguments are simply concatenated to a command
line string for CreateProcessA() with spaces in between the arguments.

I've already submitted a patch for this here:
https://www.winehq.org/pipermail/wine-devel/2021-October/197216.html

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