[SCM] Samba Shared Repository - branch v3-0-test updated - release-3-0-28a-32-g8a0ab4c

Jeremy Allison jra at samba.org
Sat Apr 12 00:10:18 GMT 2008


The branch, v3-0-test has been updated
       via  8a0ab4cd46e70c0be288e9b3b1b701ced6478ba3 (commit)
      from  f6b004591025b17fea40f1fda5843764b729140e (commit)

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


- Log -----------------------------------------------------------------
commit 8a0ab4cd46e70c0be288e9b3b1b701ced6478ba3
Author: Jeremy Allison <jra at samba.org>
Date:   Fri Apr 11 17:03:53 2008 -0700

    Janitor for Michael :-).
    
        util_tdb: fix a segfault caused by a fatal typo.
    
        In tdb_wrap_log(), in on occurrence of "debug_level = 0"
        instead of "debuglevel = 0" caused me segfaults when
        accessing DEBUGLEVEL (which is defined as "*debug_level"...)
    
        Michael

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

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


Changeset truncated at 500 lines:

diff --git a/source/lib/util_tdb.c b/source/lib/util_tdb.c
index 48e34e0..d267a92 100644
--- a/source/lib/util_tdb.c
+++ b/source/lib/util_tdb.c
@@ -847,7 +847,7 @@ static void tdb_wrap_log(TDB_CONTEXT *tdb, enum tdb_debug_level level,
 	
 	switch (level) {
 	case TDB_DEBUG_FATAL:
-		debug_level = 0;
+		debuglevel = 0;
 		break;
 	case TDB_DEBUG_ERROR:
 		debuglevel = 1;


-- 
Samba Shared Repository


More information about the samba-cvs mailing list