mirror of
https://github.com/samba-team/samba.git
synced 2024-12-27 03:21:53 +03:00
sync this function with 2.2 (single check for NULL parameter)
(This used to be commit 3ab50e648d
)
This commit is contained in:
parent
9a89a5b4fa
commit
3281f6f076
@ -188,6 +188,9 @@ static BOOL net_io_netinfo_2(char *desc, NETLOGON_INFO_2 *info, prs_struct *ps,
|
|||||||
|
|
||||||
BOOL net_io_q_logon_ctrl2(char *desc, NET_Q_LOGON_CTRL2 *q_l, prs_struct *ps, int depth)
|
BOOL net_io_q_logon_ctrl2(char *desc, NET_Q_LOGON_CTRL2 *q_l, prs_struct *ps, int depth)
|
||||||
{
|
{
|
||||||
|
if (q_l == NULL)
|
||||||
|
return False;
|
||||||
|
|
||||||
prs_debug(ps, depth, desc, "net_io_q_logon_ctrl2");
|
prs_debug(ps, depth, desc, "net_io_q_logon_ctrl2");
|
||||||
depth++;
|
depth++;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user