[SCM] Samba Shared Repository - branch master updated - 87f496f3c1ff5c8fd72bcfb6b4af7cb539d5bc47

Volker Lendecke vlendec at samba.org
Sat Oct 4 20:08:14 GMT 2008


The branch, master has been updated
       via  87f496f3c1ff5c8fd72bcfb6b4af7cb539d5bc47 (commit)
      from  0e0371b78a8d445cd0a08bd102a9a2c4952c235f (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 87f496f3c1ff5c8fd72bcfb6b4af7cb539d5bc47
Author: Volker Lendecke <vl at samba.org>
Date:   Sat Oct 4 22:07:14 2008 +0200

    Fix a potential NULL deref in line 258 found by the IBM checker

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

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


Changeset truncated at 500 lines:

diff --git a/source3/libaddns/dnsmarshall.c b/source3/libaddns/dnsmarshall.c
index 8c3389e..5530290 100644
--- a/source3/libaddns/dnsmarshall.c
+++ b/source3/libaddns/dnsmarshall.c
@@ -252,6 +252,7 @@ void dns_unmarshall_domain_name(TALLOC_CTX *mem_ctx,
 
 	if (!(name = talloc(mem_ctx, struct dns_domain_name))) {
 		buf->error = ERROR_DNS_NO_MEMORY;
+		return;
 	}
 
 	dns_unmarshall_label(name, 0, buf, &name->pLabelList);


-- 
Samba Shared Repository


More information about the samba-cvs mailing list