[Bug 51598] New: cmd.exe crashes on "if exist" without arguments

WineHQ Bugzilla wine-bugs at winehq.org
Thu Aug 12 14:29:42 CDT 2021


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

            Bug ID: 51598
           Summary: cmd.exe crashes on "if exist" without arguments
           Product: Wine
           Version: 6.14
          Hardware: x86-64
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: programs
          Assignee: wine-bugs at winehq.org
          Reporter: alexhenrie24 at gmail.com
      Distribution: ---

Created attachment 70448
  --> https://bugs.winehq.org/attachment.cgi?id=70448
Example batch file

Run `wine if-exist.bat` and a crash dialog will appear.

`wine cmd /k if exist` and `wine if-exist.bat | tee /dev/null` do not open a
crash dialog, but they do print "stack overflow" and exit.

Strangely, `wine cmd /k if-exist.bat` does NOT crash.

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