summaryrefslogtreecommitdiff
path: root/source3/rpc_client
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-07-10 18:20:30 +0200
committerVolker Lendecke <vl@samba.org>2008-07-10 18:24:54 +0200
commitad91d960d0edfc4c7797fb7c324494c1b60bfd57 (patch)
treedea26f00cafa17e5b529ffa4eadea6cb55681667 /source3/rpc_client
parenta5ad7a64c6a03e1cf085b21b84af5f2d3e00b947 (diff)
downloadsamba-ad91d960d0edfc4c7797fb7c324494c1b60bfd57.tar.gz
samba-ad91d960d0edfc4c7797fb7c324494c1b60bfd57.tar.bz2
samba-ad91d960d0edfc4c7797fb7c324494c1b60bfd57.zip
Fix some uninitialized variable references via ndr_print
(This used to be commit 26fb3fea812867f8b0dfe6a1be59e4922ed86e45)
Diffstat (limited to 'source3/rpc_client')
-rw-r--r--source3/rpc_client/init_lsa.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/rpc_client/init_lsa.c b/source3/rpc_client/init_lsa.c
index 2637158fd0..9777f27629 100644
--- a/source3/rpc_client/init_lsa.c
+++ b/source3/rpc_client/init_lsa.c
@@ -26,6 +26,8 @@
void init_lsa_String(struct lsa_String *name, const char *s)
{
name->string = s;
+ name->size = 2 * strlen_m(s);
+ name->length = name->size;
}
/*******************************************************************