Rev 682: ensure uni_name.buffer is initialised in
http://samba.org/~tridge/3_0-ctdb
tridge at samba.org
tridge at samba.org
Tue Jan 8 21:35:23 GMT 2008
------------------------------------------------------------
revno: 682
revision-id:tridge at samba.org-20080108213523-mozlbcdgzvu7fw5g
parent: tridge at samba.org-20071130111900-zjl5pc7pjjchpj1c
committer: Andrew Tridgell <tridge at samba.org>
branch nick: s3-ctdb-tridge
timestamp: Wed 2008-01-09 08:35:23 +1100
message:
ensure uni_name.buffer is initialised
modified:
source/smbd/notify.c notify.c-20070210173807-1wjifrbwaz6xnmgl-1020
=== modified file 'source/smbd/notify.c'
--- a/source/smbd/notify.c 2007-11-28 00:40:51 +0000
+++ b/source/smbd/notify.c 2008-01-08 21:35:23 +0000
@@ -55,6 +55,8 @@
int i;
UNISTR uni_name;
+ uni_name.buffer = NULL;
+
for (i=0; i<num_changes; i++) {
struct notify_change *c = &changes[i];
size_t namelen;
More information about the samba-cvs
mailing list