git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a89a5b
)
sync this function with 2.2 (single check for NULL parameter)
author
Gerald Carter
<jerry@samba.org>
Fri, 22 Jun 2001 14:18:27 +0000
(14:18 +0000)
committer
Gerald Carter
<jerry@samba.org>
Fri, 22 Jun 2001 14:18:27 +0000
(14:18 +0000)
(This used to be commit
3ab50e648d682080308d2db6bdb71eef0e303988
)
source3/rpc_parse/parse_net.c
patch
|
blob
|
history
diff --git
a/source3/rpc_parse/parse_net.c
b/source3/rpc_parse/parse_net.c
index c0d9544ba8b139e98b517a3662a99d89b092a736..d7253a53fd4c513e13428d486b98c4f0cca10ee2 100644
(file)
--- 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++;