summaryrefslogtreecommitdiff
path: root/source4/libcli/ndr/ndr.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/libcli/ndr/ndr.c')
-rw-r--r--source4/libcli/ndr/ndr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/libcli/ndr/ndr.c b/source4/libcli/ndr/ndr.c
index d9a5ff7735..eca5799d8e 100644
--- a/source4/libcli/ndr/ndr.c
+++ b/source4/libcli/ndr/ndr.c
@@ -39,6 +39,7 @@ struct ndr_pull *ndr_pull_init_blob(DATA_BLOB *blob, TALLOC_CTX *mem_ctx)
ndr = talloc(mem_ctx, sizeof(*ndr));
if (!ndr) return NULL;
+ ndr->flags = 0;
ndr->data = blob->data;
ndr->data_size = blob->length;
ndr->offset = 0;