s3-rpc_client: Fixed a segfault in rpccli_samr_chng_pswd_auth_crap().
authorAndreas Schneider <asn@samba.org>
Sun, 18 Jul 2010 13:04:20 +0000 (15:04 +0200)
committerAndreas Schneider <asn@samba.org>
Sun, 18 Jul 2010 13:09:24 +0000 (15:09 +0200)
commit898fd584a4f96ba40c2692550518856671892add
treec6c61b609a79ccd15ccb3e0dc006607825c0f0a4
parent0d16a591f4053785f419b27b7bc9694ecdd47fd0
s3-rpc_client: Fixed a segfault in rpccli_samr_chng_pswd_auth_crap().

This fixes the WINBIND-WBCLIENT test. The test set
old_lm_hash_enc_blob.length to 0 and we don't check the length here. So
the memcpy segfaulted.
source3/rpc_client/cli_samr.c