summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2008-01-08 22:48:22 -0800
committerJeremy Allison <jra@samba.org>2008-01-08 22:48:22 -0800
commit3f55798be06af3923820aa047b21b9f7a030a2c3 (patch)
treed527de4053d5199bb17060436e2f1250ba17374e /source3
parent3eb2cfc1ad3e7592ce3711265507a6a1c4253280 (diff)
downloadsamba-3f55798be06af3923820aa047b21b9f7a030a2c3.tar.gz
samba-3f55798be06af3923820aa047b21b9f7a030a2c3.tar.bz2
samba-3f55798be06af3923820aa047b21b9f7a030a2c3.zip
ensure uni_name.buffer is initialised
merge from http://samba.org/~tridge/3_0-ctdb Jeremy. (This used to be commit dec77b387cd9024eb33bb0617c7543814e9c9212)
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/notify.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/smbd/notify.c b/source3/smbd/notify.c
index 7287210802..5c26cac219 100644
--- a/source3/smbd/notify.c
+++ b/source3/smbd/notify.c
@@ -65,6 +65,8 @@ static bool notify_marshall_changes(int num_changes,
int i;
UNISTR uni_name;
+ uni_name.buffer = NULL;
+
for (i=0; i<num_changes; i++) {
struct notify_change *c;
size_t namelen;