s4-dsdb Remove incorrectly declared ** variable used as *.
commit78928f5956d1b593e92875fd46a7071a4c979640
authorAndrew Bartlett <abartlet@samba.org>
Thu, 11 Nov 2010 07:36:06 +0000 (11 18:36 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 11 Nov 2010 09:55:06 +0000 (11 09:55 +0000)
tree962751b4aa798a73395d17a8c102eb4586a2ded3
parenteebbbeac1489a1a6241b4c15064d8aaeeec810ae
s4-dsdb Remove incorrectly declared ** variable used as *.

The cleartext_utf16_str variable was declared char **, but due to the
cast on convert_string_talloc() and the lack of type checking here and
on data_blob_const (due to void *) it was able to be used as if it was
a char *.

The simple solution seems to be to fill in cleartext_utf16 blob directly.

Andrew Bartlett
source4/dsdb/samdb/ldb_modules/password_hash.c