diff options
author | Volker Lendecke <vl@samba.org> | 2008-01-09 07:59:12 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-01-09 07:59:12 +0100 |
commit | cb3c3ccd63bc5647b76964ed9569737719eefc7c (patch) | |
tree | d527de4053d5199bb17060436e2f1250ba17374e /source3 | |
parent | 3eb2cfc1ad3e7592ce3711265507a6a1c4253280 (diff) | |
download | samba-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.c | 2 |
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; |