mirror of
https://github.com/samba-team/samba.git
synced 2025-03-23 06:50:21 +03:00
s4-param Also check the p_class matches when comparing offset
This commit is contained in:
parent
3ab3159f75
commit
27e169e17e
@ -3090,7 +3090,9 @@ struct parm_struct *lpcfg_next_parameter(struct loadparm_context *lp_ctx, int sn
|
||||
|
||||
if ((*i) > 0
|
||||
&& (parm_table[*i].offset ==
|
||||
parm_table[(*i) - 1].offset))
|
||||
parm_table[(*i) - 1].offset)
|
||||
&& (parm_table[*i].p_class ==
|
||||
parm_table[(*i) - 1].p_class))
|
||||
continue;
|
||||
|
||||
return &parm_table[(*i)++];
|
||||
|
Loading…
x
Reference in New Issue
Block a user