summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-03-13 06:58:51 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:57:10 -0500
commit65238dc9402a2e79087091ed587d5d6e703c63b7 (patch)
treecf5b4b3d5dd9c068ee50070b36105ef910224bbc /source4
parent3b12f543be2d5d351f44fc55f1e9cffe73f1a10e (diff)
downloadsamba-65238dc9402a2e79087091ed587d5d6e703c63b7.tar.gz
samba-65238dc9402a2e79087091ed587d5d6e703c63b7.tar.bz2
samba-65238dc9402a2e79087091ed587d5d6e703c63b7.zip
r14310: length needs to be initialised
(This used to be commit 20d7f2ae35761533613f9d6dcf941a5ef3c7e07b)
Diffstat (limited to 'source4')
-rw-r--r--source4/librpc/ndr/ndr_basic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/librpc/ndr/ndr_basic.c b/source4/librpc/ndr/ndr_basic.c
index 000a0c3498..780931efb1 100644
--- a/source4/librpc/ndr/ndr_basic.c
+++ b/source4/librpc/ndr/ndr_basic.c
@@ -817,7 +817,7 @@ _PUBLIC_ NTSTATUS ndr_push_DATA_BLOB(struct ndr_push *ndr, int ndr_flags, DATA_B
*/
_PUBLIC_ NTSTATUS ndr_pull_DATA_BLOB(struct ndr_pull *ndr, int ndr_flags, DATA_BLOB *blob)
{
- uint32_t length;
+ uint32_t length = 0;
if (ndr->flags & LIBNDR_ALIGN_FLAGS) {
if (ndr->flags & LIBNDR_FLAG_ALIGN2) {