summaryrefslogtreecommitdiff
path: root/source3/rpc_parse/parse_ds.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/rpc_parse/parse_ds.c')
-rw-r--r--source3/rpc_parse/parse_ds.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/rpc_parse/parse_ds.c b/source3/rpc_parse/parse_ds.c
index 8edd38226b..f954806036 100644
--- a/source3/rpc_parse/parse_ds.c
+++ b/source3/rpc_parse/parse_ds.c
@@ -266,6 +266,9 @@ BOOL ds_io_q_enum_domain_trusts( const char *desc, prs_struct *ps, int depth, DS
if ( !smb_io_unistr2("server", &q_u->server, q_u->server_ptr, ps, depth) )
return False;
+ if ( !prs_align(ps) )
+ return False;
+
if ( !prs_uint32( "flags", ps, depth, &q_u->flags ) )
return False;