diff options
author | Christoph M. Becker <cmbecker69@gmx.de> | 2020-07-20 14:45:42 +0200 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2020-07-20 14:45:42 +0200 |
commit | 05e9197c517baf740cf8228da3c123ca21cc8e4d (patch) | |
tree | d75c1665e94054e865ed70e78db2e51ed0f40ded /ext/com_dotnet/com_com.c | |
parent | d67adc39a089ebd7411dcaa109f12651114e06ba (diff) | |
parent | 4b96a75ffd14f692117854c086ca1c748dbf8e5e (diff) | |
download | php-git-05e9197c517baf740cf8228da3c123ca21cc8e4d.tar.gz |
Merge branch 'PHP-7.4'
* PHP-7.4:
Fix #63527: DCOM does not work with Username, Password parameter
Diffstat (limited to 'ext/com_dotnet/com_com.c')
-rw-r--r-- | ext/com_dotnet/com_com.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/com_dotnet/com_com.c b/ext/com_dotnet/com_com.c index 315e091ca3..979c1e9084 100644 --- a/ext/com_dotnet/com_com.c +++ b/ext/com_dotnet/com_com.c @@ -129,7 +129,7 @@ PHP_METHOD(com, __construct) info.pwszName = php_com_string_to_olestring(server_name, server_name_len, obj->code_page); if (user_name) { - authid.User = php_com_string_to_olestring(user_name, -1, obj->code_page); + authid.User = (OLECHAR*)user_name; authid.UserLength = (ULONG)user_name_len; if (password) { |