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

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


The branch, v3-3-test has been updated
       via  87191fdbf929767dad7715acbff8a414b8091544 (commit)
      from  479537fa1d0ffff8d7489c7e96cb416d7c1554aa (commit)

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


- Log -----------------------------------------------------------------
commit 87191fdbf929767dad7715acbff8a414b8091544
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