git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
005b50a
)
s3: Initialize output vars in parse_ea_blob
author
Volker Lendecke
<vl@samba.org>
Sun, 24 Oct 2010 11:27:33 +0000
(13:27 +0200)
committer
Volker Lendecke
<vlendec@samba.org>
Sun, 24 Oct 2010 12:22:22 +0000
(12:22 +0000)
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sun Oct 24 12:22:22 UTC 2010 on sn-devel-104
source3/libsmb/clifile.c
patch
|
blob
|
history
diff --git
a/source3/libsmb/clifile.c
b/source3/libsmb/clifile.c
index b57cba501c9393128039b170ea2236f6e2470f09..6ce884adf56755cc222d5fec65bfbdc4aae71e4a 100644
(file)
--- 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;
}