git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e0371b
)
Fix a potential NULL deref in line 258 found by the IBM checker
author
Volker Lendecke
<vl@samba.org>
Sat, 4 Oct 2008 20:07:14 +0000
(22:07 +0200)
committer
Volker Lendecke
<vl@samba.org>
Sat, 4 Oct 2008 20:07:14 +0000
(22:07 +0200)
source3/libaddns/dnsmarshall.c
patch
|
blob
|
history
diff --git
a/source3/libaddns/dnsmarshall.c
b/source3/libaddns/dnsmarshall.c
index 8c3389eb9b6a65ba1c37c78bee79ad6bb7ef022d..5530290c57a5126c06d1ee456d78e846336de217 100644
(file)
--- 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);