lib: Fix CID 1273234 Untrusted value as argument
commit1f99ba7749a766f733f381db2925076290836be2
authorVolker Lendecke <vl@samba.org>
Tue, 23 Jun 2015 08:12:15 +0000 (23 10:12 +0200)
committerJeremy Allison <jra@samba.org>
Tue, 23 Jun 2015 20:12:08 +0000 (23 22:12 +0200)
tree5e9116b95fe0b65c206492c4ad7024174fe8230b
parent4bd430e05d4cef412a799cfbb60cc8339f2096c5
lib: Fix CID 1273234 Untrusted value as argument

buf->size has been sanitized in the checks done in talloc_array(). This makes
the "trust" flow more explicit.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
lib/addns/dnssock.c