1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-23 06:50:21 +03:00

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

This commit is contained in:
Volker Lendecke 2008-10-04 22:07:14 +02:00
parent 0e0371b78a
commit 87f496f3c1

View File

@ -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);