svn commit: samba r9152 - in branches/SAMBA_4_0/source/utils: .
metze at samba.org
metze at samba.org
Sat Aug 6 00:06:35 GMT 2005
Author: metze
Date: 2005-08-06 00:06:34 +0000 (Sat, 06 Aug 2005)
New Revision: 9152
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=9152
Log:
fix a crash bug
metze
Modified:
branches/SAMBA_4_0/source/utils/ndrdump.c
Changeset:
Modified: branches/SAMBA_4_0/source/utils/ndrdump.c
===================================================================
--- branches/SAMBA_4_0/source/utils/ndrdump.c 2005-08-05 23:56:07 UTC (rev 9151)
+++ branches/SAMBA_4_0/source/utils/ndrdump.c 2005-08-06 00:06:34 UTC (rev 9152)
@@ -240,10 +240,9 @@
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) ||
More information about the samba-cvs
mailing list