libcli/smb: clang: Fix 'Dereference of null pointer'
commitfb49e411aa3ca397b19ea57528c2f67f9b85c877
authorNoel Power <noel.power@suse.com>
Wed, 10 Jul 2019 10:41:29 +0000 (10 10:41 +0000)
committerGary Lockyer <gary@samba.org>
Tue, 16 Jul 2019 22:52:25 +0000 (16 22:52 +0000)
tree3be34d382065f5a835396257e3b70147d99672c6
parent3594c3ae202688fd8aae5f7f5e20464cb23feea9
libcli/smb: clang: Fix 'Dereference of null pointer'

Fixes:

smbXcli_base.c:4885:20: warning: Dereference of null pointer <--[clang]
        body = (uint8_t *)iov[1].iov_base;
                          ^~~~~~~~~~~~~~~

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
libcli/smb/smbXcli_base.c