diff options
-rw-r--r-- | source3/rpc_parse/parse_net.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/rpc_parse/parse_net.c b/source3/rpc_parse/parse_net.c index 401daea39c..a32edd4384 100644 --- a/source3/rpc_parse/parse_net.c +++ b/source3/rpc_parse/parse_net.c @@ -557,6 +557,9 @@ BOOL net_io_r_getdcname(const char *desc, NET_R_GETDCNAME *r_t, prs_struct *ps, r_t->ptr_dcname, ps, depth)) return False; + if (!prs_align(ps)) + return False; + if (!prs_ntstatus("status", ps, depth, &r_t->status)) return False; |