[SCM] Samba Shared Repository - branch v3-5-test updated

Karolin Seeger kseeger at samba.org
Thu Mar 11 01:51:43 MST 2010


The branch, v3-5-test has been updated
       via  531a9eb... vfs_netatalk: Segfault if hide files or veto files has no ".AppleDouble"
      from  afd8272... WHATSNEW: Start release notes for Samba 3.5.2.

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


- Log -----------------------------------------------------------------
commit 531a9ebd52fe65196bb01632a296b40a92a43b4c
Author: SATOH Fumiyasu <fumiyas at osstech.co.jp>
Date:   Wed Mar 10 12:15:44 2010 +0900

    vfs_netatalk: Segfault if hide files or veto files has no ".AppleDouble"
    
    Fix bug #1206 (netatalk vfs causes segfaults in samba).

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

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


Changeset truncated at 500 lines:

diff --git a/source3/modules/vfs_netatalk.c b/source3/modules/vfs_netatalk.c
index 68f6a31..d5a85b3 100644
--- a/source3/modules/vfs_netatalk.c
+++ b/source3/modules/vfs_netatalk.c
@@ -131,7 +131,7 @@ static void atalk_add_to_list(name_compare_entry **list)
 		}
 	}
 
-	if (!(new_list = SMB_CALLOC_ARRAY(name_compare_entry, (count == 0 ? 1 : count + 1))))
+	if (!(new_list = SMB_CALLOC_ARRAY(name_compare_entry, count + 2)))
 		return;
 
 	for (i = 0; i < count; i ++) {


-- 
Samba Shared Repository


More information about the samba-cvs mailing list