summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-01-09 07:59:12 +0100
committerVolker Lendecke <vl@samba.org>2008-01-09 07:59:12 +0100
commitcb3c3ccd63bc5647b76964ed9569737719eefc7c (patch)
treed527de4053d5199bb17060436e2f1250ba17374e /source3
parent3eb2cfc1ad3e7592ce3711265507a6a1c4253280 (diff)
downloadsamba-cb3c3ccd63bc5647b76964ed9569737719eefc7c.tar.gz
samba-cb3c3ccd63bc5647b76964ed9569737719eefc7c.tar.bz2
samba-cb3c3ccd63bc5647b76964ed9569737719eefc7c.zip
ensure uni_name.buffer is initialised
merge from http://samba.org/~tridge/3_0-ctdb (This used to be commit 2938e74dea1695c813d6220a839b248dbc3b1d8f)
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;