[SCM] SAMBA-CTDB repository - branch v3-2-ctdb updated - build_3.2.3_ctdb.51-3-g8d1fe3e

Michael Adam obnox at samba.org
Mon Dec 1 05:23:26 GMT 2008


The branch, v3-2-ctdb has been updated
       via  8d1fe3e39dea0ecadb49e0347eb699c6e76063ff (commit)
      from  e40b9b702e3f776d16e79fde3f3f8d2568cd51e9 (commit)

http://gitweb.samba.org/?p=obnox/samba-ctdb.git;a=shortlog;h=v3-2-ctdb


- Log -----------------------------------------------------------------
commit 8d1fe3e39dea0ecadb49e0347eb699c6e76063ff
Author: Michael Adam <obnox at samba.org>
Date:   Mon Dec 1 06:17:43 2008 +0100

    vfs_tsmsm: fix potential segfault (freeing uninitialized buffer)
    
    Michael

-----------------------------------------------------------------------

Summary of changes:
 source/modules/vfs_tsmsm.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/modules/vfs_tsmsm.c b/source/modules/vfs_tsmsm.c
index ee958b1..6fb1d1d 100644
--- a/source/modules/vfs_tsmsm.c
+++ b/source/modules/vfs_tsmsm.c
@@ -148,7 +148,7 @@ static bool tsmsm_is_offline(struct vfs_handle_struct *handle,
 	dm_attrname_t dmname;
 	int ret, lerrno;
 	bool offline;
-	char *buf;
+	char *buf = NULL;
 	size_t buflen;
 
         /* if the file has more than FILE_IS_ONLINE_RATIO of blocks available,


-- 
SAMBA-CTDB repository


More information about the samba-cvs mailing list