mirror of
https://github.com/samba-team/samba.git
synced 2025-12-04 08:23:50 +03:00
r9098: fix another usrmgr.exe crash when viewing user properties at debuglevel 10
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
5e6fef32b3
commit
f5756c2611
@@ -1229,7 +1229,7 @@ static BOOL make_samr_lookup_rids(TALLOC_CTX *ctx, uint32 num_names,
|
||||
}
|
||||
|
||||
for (i = 0; i < num_names; i++) {
|
||||
DEBUG(10, ("names[%d]:%s\n", i, *names[i] ? names[i] : ""));
|
||||
DEBUG(10, ("names[%d]:%s\n", i, names[i] && *names[i] ? names[i] : ""));
|
||||
init_unistr2(&uni_name[i], names[i], UNI_FLAGS_NONE);
|
||||
init_uni_hdr(&hdr_name[i], &uni_name[i]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user