s3-libsmb: Remove check if array is NULL.
authorAndreas Schneider <asn@samba.org>
Wed, 19 Dec 2012 13:10:05 +0000 (14:10 +0100)
committerGünther Deschner <gd@samba.org>
Fri, 21 Dec 2012 12:56:01 +0000 (13:56 +0100)
commit93d2847bf4cc5d2fcdc95677d1cb1c515adc621c
tree30cbef0743109c00577b95ba6c976cbe5d351e6b
parent56eb4ab5f6280aa40c0e0edefad7f965b3f02a4a
s3-libsmb: Remove check if array is NULL.

rdata is an array with data. rdlength defines how big rdata is. So if
rdlength is not set we have a big problem.

Found by Coverity.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Günther Deschner <gd@samba.org>
source3/libsmb/nmblib.c