https://bugs.winehq.org/show_bug.cgi?id=37759 Bug ID: 37759 Summary: GetStringTypeW: Access violation when src param is null Product: Wine Version: 1.7.33 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: kernel32 Assignee: wine-bugs(a)winehq.org Reporter: christian.faurebouvard(a)gmail.com Distribution: --- The function GetStringTypeW in kernel32, at locale.c (line 2460) cause an access violation when the src param is null and count>0 In windows, it return 0 (false) on this condition, i've patched locale.c at line 2482 with this code: if (count > 0 && !src){ SetLastError( ERROR_INVALID_PARAMETER ); return FALSE; } Problem detected when trying to run a CLARION 8 application. After this patch, the app seem running OK, with a firebird database via unixodbc. Thanks. -- 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.