summaryrefslogtreecommitdiff
path: root/source4/librpc/ndr
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-02-19 11:12:33 +0100
committerStefan Metzmacher <metze@samba.org>2009-02-19 11:13:35 +0100
commit052f3f0d4da01d27835ef265036a36d20941f1a8 (patch)
tree40836ca1a0abaf4dbe5c3d46a0cede4d0abf61be /source4/librpc/ndr
parent7082e4526f268fa1d09d04b246025bce3174aab3 (diff)
downloadsamba-052f3f0d4da01d27835ef265036a36d20941f1a8.tar.gz
samba-052f3f0d4da01d27835ef265036a36d20941f1a8.tar.bz2
samba-052f3f0d4da01d27835ef265036a36d20941f1a8.zip
s4:librpc/ndr: if uninitialized variable in string_array code
metze
Diffstat (limited to 'source4/librpc/ndr')
-rw-r--r--source4/librpc/ndr/ndr_string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/librpc/ndr/ndr_string.c b/source4/librpc/ndr/ndr_string.c
index a2fcdeae29..1b5da2dcc2 100644
--- a/source4/librpc/ndr/ndr_string.c
+++ b/source4/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;