summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2001-06-22 14:18:27 +0000
committerGerald Carter <jerry@samba.org>2001-06-22 14:18:27 +0000
commit3281f6f076a13b78f3a688775993c9139526d6a3 (patch)
treea5464348fb65a73e4c385a7b32acf6d0f03f4d07
parent9a89a5b4fadfe95ffad299a2bd08f7dfaaec707f (diff)
downloadsamba-3281f6f076a13b78f3a688775993c9139526d6a3.tar.gz
samba-3281f6f076a13b78f3a688775993c9139526d6a3.tar.bz2
samba-3281f6f076a13b78f3a688775993c9139526d6a3.zip
sync this function with 2.2 (single check for NULL parameter)
(This used to be commit 3ab50e648d682080308d2db6bdb71eef0e303988)
-rw-r--r--source3/rpc_parse/parse_net.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/rpc_parse/parse_net.c b/source3/rpc_parse/parse_net.c
index c0d9544ba8..d7253a53fd 100644
--- a/source3/rpc_parse/parse_net.c
+++ b/source3/rpc_parse/parse_net.c
@@ -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)
{
+ if (q_l == NULL)
+ return False;
+
prs_debug(ps, depth, desc, "net_io_q_logon_ctrl2");
depth++;