[SCM] Samba Shared Repository - branch v3-2-test updated - release-3-2-0pre2-1001-g06c5076

Volker Lendecke vlendec at samba.org
Sat Apr 19 15:56:20 GMT 2008


The branch, v3-2-test has been updated
       via  06c5076f8ef23ac36d234ed417b80a58ab8dd7b4 (commit)
      from  87d8a63ce4e6dd91ea3193d0a2574520a5857be2 (commit)

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


- Log -----------------------------------------------------------------
commit 06c5076f8ef23ac36d234ed417b80a58ab8dd7b4
Author: Volker Lendecke <vl at samba.org>
Date:   Sat Apr 19 17:58:53 2008 +0200

    Fix a bogus uninitialized variable warning in IDL-based nbt code

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

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


Changeset truncated at 500 lines:

diff --git a/source/libcli/nbt/nbtname.c b/source/libcli/nbt/nbtname.c
index 5aff15b..2025ef7 100644
--- a/source/libcli/nbt/nbtname.c
+++ b/source/libcli/nbt/nbtname.c
@@ -110,7 +110,7 @@ _PUBLIC_ enum ndr_err_code ndr_pull_nbt_string(struct ndr_pull *ndr, int ndr_fla
 
 	/* break up name into a list of components */
 	for (num_components=0;num_components<MAX_COMPONENTS;num_components++) {
-		uint8_t *component;
+		uint8_t *component = NULL;
 		NDR_CHECK(ndr_pull_component(ndr, &component, &offset, &max_offset));
 		if (component == NULL) break;
 		if (name) {


-- 
Samba Shared Repository


More information about the samba-cvs mailing list