[SCM] Samba Shared Repository - branch v3-2-test updated - release-3-2-0pre2-3201-g7564690

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


The branch, v3-2-test has been updated
       via  75646900fc9327a1ff3353be4a4e52a429055a91 (commit)
      from  f04c5650a3aeca23591ddc781c4b297caaf9bb3f (commit)

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


- Log -----------------------------------------------------------------
commit 75646900fc9327a1ff3353be4a4e52a429055a91
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 Shared Repository


More information about the samba-cvs mailing list