diff options
author | Volker Lendecke <vl@samba.org> | 2008-10-04 22:07:14 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-10-04 22:07:14 +0200 |
commit | 87f496f3c1ff5c8fd72bcfb6b4af7cb539d5bc47 (patch) | |
tree | cf438f7d1951edcc2f660817ba3412bd7694f47b | |
parent | 0e0371b78a8d445cd0a08bd102a9a2c4952c235f (diff) | |
download | samba-87f496f3c1ff5c8fd72bcfb6b4af7cb539d5bc47.tar.gz samba-87f496f3c1ff5c8fd72bcfb6b4af7cb539d5bc47.tar.bz2 samba-87f496f3c1ff5c8fd72bcfb6b4af7cb539d5bc47.zip |
Fix a potential NULL deref in line 258 found by the IBM checker
-rw-r--r-- | source3/libaddns/dnsmarshall.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/libaddns/dnsmarshall.c b/source3/libaddns/dnsmarshall.c index 8c3389eb9b..5530290c57 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); |