Fix #6399: Call ConvertFromUnicode with length -1.
authorakallabeth <akallabeth@posteo.net>
Thu, 30 Jul 2020 14:16:01 +0000 (16:16 +0200)
committerakallabeth <akallabeth@posteo.net>
Fri, 31 Jul 2020 09:30:43 +0000 (11:30 +0200)
commit5f3ba52de63229cf1783f93286e102e9d3483101
tree4564dd03a3a896bebdb31300335232045041652e
parentcc4991e6af21c2ce0f2a33b6768dc9bf86030b62
Fix #6399: Call ConvertFromUnicode with length -1.

The input string has ensured NULL termination, so let the function
determine the correct length.

(cherry picked from commit 36499527e747283019c21dbc84c5eff0a564e1d8)
libfreerdp/core/info.c