s3: smbd: Ensure all callers to srvstr_pull_req_talloc() pass a zeroed-out dest pointer.
authorJeremy Allison <jra@samba.org>
Fri, 11 Aug 2023 17:52:31 +0000 (10:52 -0700)
committerJule Anger <janger@samba.org>
Wed, 16 Aug 2023 08:47:14 +0000 (08:47 +0000)
commit0dbba5f655f6e84b07f04c8e23719a72c67594ed
tree308fb4ae0295ac090f350eb5741aaa915f4ca67f
parentb958e82d0b67654a76fc95edde646c6ea8f99ae1
s3: smbd: Ensure all callers to srvstr_pull_req_talloc() pass a zeroed-out dest pointer.

Now we've fixed srvstr_pull_req_talloc() this isn't
strictly needed, but ensuring pointers are initialized
is best practice to avoid future bugs.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15420

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Mon Aug 14 15:55:43 UTC 2023 on atb-devel-224

(cherry picked from commit 5379b8d557a9a16b81eafb87b60b81debc4bfccb)
source3/smbd/smb1_ipc.c
source3/smbd/smb1_message.c
source3/smbd/smb1_sesssetup.c