mirror of
https://github.com/samba-team/samba.git
synced 2025-01-27 14:04:05 +03:00
r4353: Finally get length of munged_dial correct.
Guenther (This used to be commit b209f97f246cd65719f1000c7de368babec26d47)
This commit is contained in:
parent
a3e4686b50
commit
3c1f5a024d
@ -382,7 +382,7 @@ sam_account_from_delta(SAM_ACCOUNT *account, SAM_ACCOUNT_INFO *delta)
|
|||||||
if (delta->hdr_parameters.buffer) {
|
if (delta->hdr_parameters.buffer) {
|
||||||
DATA_BLOB mung;
|
DATA_BLOB mung;
|
||||||
old_string = pdb_get_munged_dial(account);
|
old_string = pdb_get_munged_dial(account);
|
||||||
mung.length = delta->uni_parameters.uni_str_len * 2;
|
mung.length = delta->hdr_parameters.uni_str_len;
|
||||||
mung.data = (uint8 *) delta->uni_parameters.buffer;
|
mung.data = (uint8 *) delta->uni_parameters.buffer;
|
||||||
new_string = (mung.length == 0) ? NULL : base64_encode_data_blob(mung);
|
new_string = (mung.length == 0) ? NULL : base64_encode_data_blob(mung);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user