The branch, v3-2-test has been updated
       via  d9bd894c2ec4faf87e8ff96e27c7e2b8175f9387 (commit)
      from  07a9da0243f6f963108ea17d39c2daa3f7787b6a (commit)

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


- Log -----------------------------------------------------------------
commit d9bd894c2ec4faf87e8ff96e27c7e2b8175f9387
Author: Michael Adam <[EMAIL PROTECTED]>
Date:   Sat Apr 12 01:36:10 2008 +0200

    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 ce5e77f..8257232 100644
--- a/source/lib/util_tdb.c
+++ b/source/lib/util_tdb.c
@@ -862,7 +862,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

Reply via email to