git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
918b1b3
)
r9152: fix a crash bug
author
Stefan Metzmacher
<metze@samba.org>
Sat, 6 Aug 2005 00:06:34 +0000
(
00:06
+0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:31:24 +0000
(13:31 -0500)
metze
(This used to be commit
d1868bd5912c5bb90509ace5c7ac8589c29e423c
)
source4/utils/ndrdump.c
patch
|
blob
|
history
diff --git
a/source4/utils/ndrdump.c
b/source4/utils/ndrdump.c
index b80dbdc39c5ee7e06d53489429833f51b2a3f866..078f1a17916c3f1bfd3f53ffdef901b18162263a 100644
(file)
--- a/
source4/utils/ndrdump.c
+++ b/
source4/utils/ndrdump.c
@@
-240,10
+240,9
@@
static char *stdin_load(TALLOC_CTX *mem_ctx, size_t *size)
dump_data(0, ndr->data+ndr->offset, ndr->data_size - ndr->offset);
}
- pr = talloc(NULL, struct ndr_print);
+ pr = talloc
_zero
(NULL, struct ndr_print);
pr->print = ndr_print_debug_helper;
pr->depth = 1;
- pr->flags = 0;
f->ndr_print(pr, function, flags, st);
if (!NT_STATUS_IS_OK(status) ||