https://bugs.winehq.org/show_bug.cgi?id=54486 Bug ID: 54486 Summary: getenv_s returns the wrong value Product: Wine Version: 8.0 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: ucrtbase Assignee: wine-bugs(a)winehq.org Reporter: blitzkriegoutlaw(a)hotmail.com Distribution: --- Created attachment 74039 --> https://bugs.winehq.org/attachment.cgi?id=74039 Test case 'getenv_s(&l, NULL, 0, "HOMEDRIVE");' returns 0 (success) on Windows and 35 (ERANGE) with Wine. ERANGE should be returned only if buffer and numberOfElements are provided. -- 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.