mirror of
https://github.com/samba-team/samba.git
synced 2025-02-28 01:58:17 +03:00
r25286: Fix one more caller of unistr2_to_ascii() that passed
in -1 for maxlen. Michael (This used to be commit cd3d652d0d7609fc369ed0743c1fc54c87558438)
This commit is contained in:
parent
91b276e4ea
commit
30fc640057
@ -400,7 +400,7 @@ static void reply_spnego_kerberos(connection_struct *conn,
|
||||
if (logon_info && logon_info->info3.hdr_logon_dom.uni_str_len) {
|
||||
unistr2_to_ascii(netbios_domain_name,
|
||||
&logon_info->info3.uni_logon_dom,
|
||||
-1);
|
||||
sizeof(netbios_domain_name));
|
||||
domain = netbios_domain_name;
|
||||
DEBUG(10, ("Mapped to [%s] (using PAC)\n", domain));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user