summaryrefslogtreecommitdiff
path: root/source3/librpc
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-02-19 11:11:28 +0100
committerStefan Metzmacher <metze@samba.org>2009-02-19 11:13:34 +0100
commit7082e4526f268fa1d09d04b246025bce3174aab3 (patch)
tree7a566d0e693665f03c5d7214ff20d2d932621b51 /source3/librpc
parentd61e152b2970057a6ab34f8371fd19bd922b284e (diff)
downloadsamba-7082e4526f268fa1d09d04b246025bce3174aab3.tar.gz
samba-7082e4526f268fa1d09d04b246025bce3174aab3.tar.bz2
samba-7082e4526f268fa1d09d04b246025bce3174aab3.zip
s3:librpc/ndr: if uninitialized variable in string_array code
metze
Diffstat (limited to 'source3/librpc')
-rw-r--r--source3/librpc/ndr/ndr_string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/librpc/ndr/ndr_string.c b/source3/librpc/ndr/ndr_string.c
index 985d0f4daa..519be7b1a0 100644
--- a/source3/librpc/ndr/ndr_string.c
+++ b/source3/librpc/ndr/ndr_string.c
@@ -443,7 +443,7 @@ _PUBLIC_ uint32_t ndr_size_string(int ret, const char * const* string, int flags
*/
_PUBLIC_ enum ndr_err_code ndr_pull_string_array(struct ndr_pull *ndr, int ndr_flags, const char ***_a)
{
- const char **a = *_a;
+ const char **a = NULL;
uint32_t count;
unsigned flags = ndr->flags;
unsigned saved_flags = ndr->flags;