diff options
author | Volker Lendecke <vl@samba.org> | 2008-07-10 18:20:30 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-07-10 18:24:54 +0200 |
commit | ad91d960d0edfc4c7797fb7c324494c1b60bfd57 (patch) | |
tree | dea26f00cafa17e5b529ffa4eadea6cb55681667 /source3/rpc_client | |
parent | a5ad7a64c6a03e1cf085b21b84af5f2d3e00b947 (diff) | |
download | samba-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.c | 2 |
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; } /******************************************************************* |