[Bug 34814] New: wineconsole truncates argument string in 256 bytes
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(a)winehq.org ReportedBy: ohkawa.hiroki(a)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.
https://bugs.winehq.org/show_bug.cgi?id=34814 --- Comment #1 from Austin English <austinenglish(a)gmail.com> --- This is your friendly reminder that there has been no bug activity for over a year. Is this still an issue in current (1.7.37 or newer) wine? If so, please attach the terminal output in 1.7.37 (see http://wiki.winehq.org/FAQ#get_log). -- 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.
https://bugs.winehq.org/show_bug.cgi?id=34814 Hugh McMaster <hugh.mcmaster(a)outlook.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hugh.mcmaster(a)outlook.com -- 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.
https://bugs.winehq.org/show_bug.cgi?id=34814 --- Comment #2 from Bruno Jesus <00cpxxx(a)gmail.com> --- Was this fixed by http://source.winehq.org/git/wine.git/commitdiff/0516d969ebffa93f1317a9dbf6e... ? -- 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.
https://bugs.winehq.org/show_bug.cgi?id=34814 --- Comment #3 from Hugh McMaster <hugh.mcmaster(a)outlook.com> --- Bruno, I tested this with 'wineconsole cmd.exe help' and a lot of arguments. The resulting error (expected!) repeated the entire argument string, e.g. 'No help available for <long series of arguments>'. Previously, the argument string was truncated at 256 chars. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=34814 --- Comment #4 from Bruno Jesus <00cpxxx(a)gmail.com> --- (In reply to Hugh McMaster from comment #3)
Bruno,
I tested this with 'wineconsole cmd.exe help' and a lot of arguments. The resulting error (expected!) repeated the entire argument string, e.g. 'No help available for <long series of arguments>'.
Previously, the argument string was truncated at 256 chars.
I'm sorry, I may be too sleepy, does this mean it's fixed? -- 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.
https://bugs.winehq.org/show_bug.cgi?id=34814 --- Comment #5 from Hugh McMaster <hugh.mcmaster(a)outlook.com> --- (In reply to Bruno Jesus from comment #4)
I'm sorry, I may be too sleepy, does this mean it's fixed?
I'm not the OP, but yes, the bug is fixed. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=34814 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |0516d969ebffa93f1317a9dbf6e | |4c1a1af457a59 Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #6 from Austin English <austinenglish(a)gmail.com> --- (In reply to Hugh McMaster from comment #5)
(In reply to Bruno Jesus from comment #4)
I'm sorry, I may be too sleepy, does this mean it's fixed?
I'm not the OP, but yes, the bug is fixed.
Fixed. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=34814 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #7 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 1.7.43. -- 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.
participants (1)
-
wine-bugs@winehq.org