[Bug 34814] New: wineconsole truncates argument string in 256 bytes

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Oct 28 03:49:49 CDT 2013


http://bugs.winehq.org/show_bug.cgi?id=34814

             Bug #: 34814
           Summary: wineconsole truncates argument string in 256 bytes
           Product: Wine
           Version: 1.7.4
          Platform: x86-64
        OS/Version: Mac OS X
            Status: UNCONFIRMED
          Severity: minor
          Priority: P2
         Component: -unknown
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: ohkawa.hiroki at shift.gr.jp
    Classification: Unclassified


wineconsole truncates command-line argument string (without switches, like
`--backend=...') in 256 bytes, whereas wine command does not.

It looks too short in practical use. 4096 bytes or more would be better.
(It would surely be much better to calculate buffer length dynamically from
system-wide limitation, or in same way as wine command does, though...)

FIY. I've tried to apply a ad-hoc, workaround patch to
programs/wineconsole/wineconsole.c, just to widen `WCHAR buffer[256]', and it
seems to be working.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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