Change declaration as example below and use iconv to get the correct string size then allocate the string. rdp_in_unistr(STREAM s, int in_len, char **string, int *str_size)
Commits r1773, r1774 adds the dynamic string allocation, commits r1775, r1776 cleans up related issues were used.
Tester should test related functions using the rdp_in_unistr(): - local printer rediretion - local drive redirection and server redirection in a farm.
Vendordrop of upstream in commit 28197
(In reply to comment #2) > Tester should test related functions using the rdp_in_unistr(): > > - local printer rediretion > - local drive redirection > > and server redirection in a farm. All this tested on other bugs.