http://bugs.winehq.org/show_bug.cgi?id=27598
Summary: PLSQL Developer: can't not login to database Product: Wine Version: 1.3.22 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: advapi32 AssignedTo: wine-bugs@winehq.org ReportedBy: alex@stanev.org
After wine 1.3.21 PLSQL Developer can't login to database, throwing error "ORA-12163: TNS:connect descriptor is too long" This is a regression, currently present in 1.3.23 and git head.
http://bugs.winehq.org/show_bug.cgi?id=27598
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression CC| |wylda@volny.cz
--- Comment #1 from Wylda wylda@volny.cz 2011-06-25 14:16:43 CDT ---
Alex, could you please run a regression test? http://wiki.winehq.org/RegressionTesting
Is the Oracle the only choice for PLSQL Developer and to demonstrate the problem?
http://bugs.winehq.org/show_bug.cgi?id=27598
--- Comment #2 from Alex Stanev alex@stanev.org 2011-06-25 14:32:46 CDT --- Created an attachment (id=35279) --> (http://bugs.winehq.org/attachment.cgi?id=35279) Patch agains wine 1.3.23
http://bugs.winehq.org/show_bug.cgi?id=27598
Alex Stanev alex@stanev.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, patch URL| |http://download.allroundaut | |omations.com/plsqldev804.ex | |e
--- Comment #3 from Alex Stanev alex@stanev.org 2011-06-25 14:35:00 CDT --- The regression shows the faulty commit: c0b7345e386ac1ccc1e99577cc85093f05c55631 is the first bad commit commit c0b7345e386ac1ccc1e99577cc85093f05c55631 Author: Andrew Nguyen anguyen@codeweavers.com Date: Wed Jun 1 07:13:57 2011 -0500
advapi32: Fix last error value of GetUserNameA/W and output buffer handling in GetUserNameA.
:040000 040000 589834b95878ea0ec2670182f4cad625ce3ea2ea c7b91d93a3bf05260b2fd9b30ec3b63718e3730c M dlls
It seams *lpSize is not set. Attached proposed patch.
http://bugs.winehq.org/show_bug.cgi?id=27598
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |arethusa26@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=27598
--- Comment #4 from Alex Stanev alex@stanev.org 2011-06-25 14:58:12 CDT --- Wylda, I observe it with Oracle instant client 11.1.0.7.0(available from Oracle after simple registration) + PLSQL Developer 8.0.4 (with direct download, 30 day eval). The test environment can be set up with with Oracle XE, also available from Oracle, after reg. I know, it's a bit overhead to setup a env for the bug, please review the attached patch. I believe it's straightforward, alternatively just changing WideCharToMultiByte( CP_ACP, 0, buffer, -1, lpszName, *lpSize, NULL, NULL ); to *lpSize = WideCharToMultiByte( CP_ACP, 0, buffer, -1, NULL, 0, NULL, NULL ); from Andrew's patch does the job too.
P.s. I can't CC Andrew via Bugzilla, strange
http://bugs.winehq.org/show_bug.cgi?id=27598
--- Comment #5 from Wylda wylda@volny.cz 2011-07-08 03:18:59 CDT ---
Hi Alex, is this bug fixed by following commit? http://source.winehq.org/git/wine.git/commit/82b7a4166f99e10133bcc4de869ccfb...
http://bugs.winehq.org/show_bug.cgi?id=27598
Alex Stanev alex@stanev.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #6 from Alex Stanev alex@stanev.org 2011-07-11 09:39:11 CDT --- Yes, it is fixed with this commit, works fine in 1.3.24
http://bugs.winehq.org/show_bug.cgi?id=27598
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Alexandre Julliard julliard@winehq.org 2011-07-22 12:44:28 CDT --- Closing bugs fixed in 1.3.25.