mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
Fix for assert fail - left over when moved to dynamic allocation.
Jeremy.
This commit is contained in:
parent
db5b82e53a
commit
0fcf200633
@ -1219,7 +1219,7 @@ uint32 _samr_lookup_names(pipes_struct *p, SAMR_Q_LOOKUP_NAMES *q_u, SAMR_R_LOOK
|
||||
uint32 rid[MAX_SAM_ENTRIES];
|
||||
enum SID_NAME_USE type[MAX_SAM_ENTRIES];
|
||||
int i;
|
||||
int num_rids = q_u->num_names1;
|
||||
int num_rids = q_u->num_names2;
|
||||
DOM_SID pol_sid;
|
||||
|
||||
r_u->status = NT_STATUS_NOPROBLEMO;
|
||||
@ -1239,8 +1239,6 @@ uint32 _samr_lookup_names(pipes_struct *p, SAMR_Q_LOOKUP_NAMES *q_u, SAMR_R_LOOK
|
||||
DEBUG(5,("_samr_lookup_names: truncating entries to %d\n", num_rids));
|
||||
}
|
||||
|
||||
SMB_ASSERT_ARRAY(q_u->uni_name, num_rids);
|
||||
|
||||
for (i = 0; i < num_rids; i++) {
|
||||
fstring name;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user