[SCM] Samba Shared Repository - branch v3-2-stable updated - release-3-2-2-39-gb666d0a

Karolin Seeger kseeger at samba.org
Wed Aug 27 11:25:27 GMT 2008


The branch, v3-2-stable has been updated
       via  b666d0a4b597218f5f5020bf36d80d84dcbf7259 (commit)
      from  86634dc0c89b8c0ddf61273d31cc7d8cdb443643 (commit)

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


- Log -----------------------------------------------------------------
commit b666d0a4b597218f5f5020bf36d80d84dcbf7259
Author: Karolin Seeger <kseeger at samba.org>
Date:   Wed Aug 27 13:23:20 2008 +0200

    ldb: Fix permissions of new ldg files.
    
    This one fixes together with 2eaf4ed62 bug #5715 and CVE-2008-3789.
    
    Thanks to Steve Langasek <vorlon at debian.org> for reporting!
    
    Karolin

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

Summary of changes:
 source/lib/ldb/common/ldb.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/lib/ldb/common/ldb.c b/source/lib/ldb/common/ldb.c
index e469c49..743711b 100644
--- a/source/lib/ldb/common/ldb.c
+++ b/source/lib/ldb/common/ldb.c
@@ -51,7 +51,7 @@ struct ldb_context *ldb_init(void *mem_ctx)
 	}
 
 	ldb_set_utf8_default(ldb);
-	ldb_set_create_perms(ldb, 0666);
+	ldb_set_create_perms(ldb, 0600);
 
 	return ldb;
 }


-- 
Samba Shared Repository


More information about the samba-cvs mailing list