summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-10-24 13:27:33 +0200
committerVolker Lendecke <vlendec@samba.org>2010-10-24 12:22:22 +0000
commit172a1580d234a2194ce5bc6ca6056bbea48ed7e3 (patch)
treed2da7395e349ee6c0089a097a7fc15b7ddbd56f4 /source3
parent005b50ad68c5a18d9e34e9c46f67750a67472634 (diff)
downloadsamba-172a1580d234a2194ce5bc6ca6056bbea48ed7e3.tar.gz
samba-172a1580d234a2194ce5bc6ca6056bbea48ed7e3.tar.bz2
samba-172a1580d234a2194ce5bc6ca6056bbea48ed7e3.zip
s3: Initialize output vars in parse_ea_blob
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Oct 24 12:22:22 UTC 2010 on sn-devel-104
Diffstat (limited to 'source3')
-rw-r--r--source3/libsmb/clifile.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/libsmb/clifile.c b/source3/libsmb/clifile.c
index b57cba501c..6ce884adf5 100644
--- a/source3/libsmb/clifile.c
+++ b/source3/libsmb/clifile.c
@@ -4227,6 +4227,7 @@ static bool parse_ea_blob(TALLOC_CTX *ctx, const uint8_t *rdata,
if (ea_size == 0) {
/* No EA's present. */
*pnum_eas = 0;
+ *pea_list = NULL;
return true;
}
@@ -4249,6 +4250,7 @@ static bool parse_ea_blob(TALLOC_CTX *ctx, const uint8_t *rdata,
if (num_eas == 0) {
*pnum_eas = 0;
+ *pea_list = NULL;
return true;
}