[Bug 49314] New: Wine segfaults with too many command-line arguments

WineHQ Bugzilla wine-bugs at winehq.org
Wed Jun 3 08:40:12 CDT 2020


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

            Bug ID: 49314
           Summary: Wine segfaults with too many command-line arguments
           Product: Wine
           Version: 5.7
          Hardware: x86-64
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: -unknown
          Assignee: wine-bugs at winehq.org
          Reporter: esteve.varela at gmail.com
      Distribution: ---

Running the `wine` command on any program, with too many arguments (or too long
of a command-line) causes a segfault.

An example of a command that can reproduce this bug on most systems:
    wine start '/?' /usr/bin/*

Expected output: A list of option flags for wine start
Gotten result: Segmentation fault

This bug is problematic because it can happen with command-lines shorter than
32767 bytes (which I believe to be the upper limit supported by wine), though
the exact circumstances aren't exactly clear.

The reported behavior has been observed with wine 5.7, but is still present in
5.9. On wine-staging, the error is instead:
    0024:err:seh:segv_handler_early Got unexpected trap 14 during process
initialization

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