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:
parent
0e0371b78a
commit
87f496f3c1
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user