9769 SMB domain logon fails with I18N user name

Review Request #1183 - Created Aug. 26, 2018 and submitted

Information
Gordon Ross
illumos-gate
9769
Reviewers
general
citrus

9769 SMB domain logon fails with I18N user name

The output buffer passed to ndr_s_wchar is actually large enough, but the output buffer size passed to ndr_wcstombs() is incorrect (it's passing the number of UTF-16 characters).
The fix is to pass the actual allocated size of the output buffer (less the null, which this function adds).

Verified by the affected user.

Loading...