[SCM] Samba Shared Repository - branch master updated - e021ecea45bbd41fb671d3f0cb8f5c271f14ba7f

Michael Adam obnox at samba.org
Mon Dec 1 05:21:45 GMT 2008


The branch, master has been updated
       via  e021ecea45bbd41fb671d3f0cb8f5c271f14ba7f (commit)
      from  7bd7846df7a28b9a066fd4d862de0e4d81aadb86 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit e021ecea45bbd41fb671d3f0cb8f5c271f14ba7f
Author: Michael Adam <obnox at samba.org>
Date:   Mon Dec 1 06:20:22 2008 +0100

    s3:vfs_tsmsm: fix potential segfault (freeing uninitialized buffer)
    
    Michael

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

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


Changeset truncated at 500 lines:

diff --git a/source3/modules/vfs_tsmsm.c b/source3/modules/vfs_tsmsm.c
index ee958b1..6fb1d1d 100644
--- a/source3/modules/vfs_tsmsm.c
+++ b/source3/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