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

Karolin Seeger kseeger at samba.org
Wed Dec 12 04:15:24 MST 2012


The branch, v3-5-test has been updated
       via  06e3c65 Fix bug #9455 munmap called for an address location not mapped by samba.
      from  cf4773f source3/libaddns: don't depend on the order in resp->answers[]

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


- Log -----------------------------------------------------------------
commit 06e3c65af559baaee7fa61ed3df1287b786d1858
Author: Jeremy Allison <jra at samba.org>
Date:   Mon Dec 10 10:40:12 2012 -0800

    Fix bug #9455 munmap called for an address location not mapped by samba.
    
    Signed-off-by: Jeremy Allison <jra at samba.org>

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

Summary of changes:
 source3/lib/util_unistr.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/lib/util_unistr.c b/source3/lib/util_unistr.c
index f53ef94..e8483d3 100644
--- a/source3/lib/util_unistr.c
+++ b/source3/lib/util_unistr.c
@@ -45,6 +45,7 @@ void gfree_case_tables(void)
 			unmap_file(upcase_table, 0x20000);
 		else
 			SAFE_FREE(upcase_table);
+		upcase_table = NULL;
 	}
 
 	if ( lowcase_table ) {
@@ -52,6 +53,7 @@ void gfree_case_tables(void)
 			unmap_file(lowcase_table, 0x20000);
 		else
 			SAFE_FREE(lowcase_table);
+		lowcase_table = NULL;
 	}
 
 	if ( valid_table ) {
@@ -59,6 +61,7 @@ void gfree_case_tables(void)
 			unmap_file(valid_table, 0x10000);
 		else
 			SAFE_FREE(valid_table);
+		valid_table = NULL;
 	}
 	initialized = false;
 }


-- 
Samba Shared Repository


More information about the samba-cvs mailing list