s4:torture/rpc/netlogon: assert that cli_credentials_get_{workstation,password} don...
authorStefan Metzmacher <metze@samba.org>
Mon, 3 Sep 2018 07:55:18 +0000 (09:55 +0200)
committerStefan Metzmacher <metze@samba.org>
Wed, 5 Sep 2018 11:31:41 +0000 (13:31 +0200)
commit7276bdb5595fdd2686cc0fde22272d6005e22626
tree7a5fb43e14e52a1e3413fbe3834e3291b40b0106
parent91a5d382bc0baf66a4701901a7e2096071ce1219
s4:torture/rpc/netlogon: assert that cli_credentials_get_{workstation,password} don't return NULL

This is better that generating a segfault while dereferencing a NULL
pointer later.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11517

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit dffc182c6943d21513d8db9f6cf66bdc09206b17)
source4/torture/rpc/netlogon.c