Fix bug 8088 - rpccli_samr_chng_pswd_auth_crap segfaults if any input blobs are null.
commitf09bc1f520cebc37a163b306371c5beb850c8f31
authorJeremy Allison <jra@samba.org>
Mon, 18 Apr 2011 21:32:11 +0000 (18 14:32 -0700)
committerKarolin Seeger <kseeger@samba.org>
Tue, 26 Apr 2011 18:08:32 +0000 (26 20:08 +0200)
tree9f6e5f5fa60cce8a4d4967d2e0d024e407876953
parentac578cbd6b852d60c49a101b9f81888214ae0b23
Fix bug 8088 - rpccli_samr_chng_pswd_auth_crap segfaults if any input blobs are null.

Correct fix - ensure we have enough length, and correctly null out
passed in structs if not.

Jeremy.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Tue Apr 19 00:17:08 CEST 2011 on sn-devel-104
(cherry picked from commit bde2bcc8efd735d08b55ac3083d7b0f6490100d0)
(cherry picked from commit 19af6216877577b11f97e132faebcfe1c15a3f7d)
source3/rpc_client/cli_samr.c