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 <[EMAIL PROTECTED]>
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

Reply via email to