1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-20 22:50:26 +03:00

s3: smbd: Deliberately currupt an uninitialized pointer.

We will need this to show smbd crashing in the test code.
This will be removed once we're passing the test.

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>
(cherry picked from commit e7bf94b4e3a7f994aa6f0b859089c5add2ad380f)
This commit is contained in:
Jeremy Allison 2023-08-11 10:38:23 -07:00 committed by Jule Anger
parent 741cc3484e
commit bce87c64b7

View File

@ -581,7 +581,7 @@ void reply_sesssetup_and_X(struct smb_request *req)
struct reply_sesssetup_and_X_state *state = NULL;
uint64_t sess_vuid;
uint16_t smb_bufsize;
char *tmp;
char *tmp = (char *)0xDEADBEEF;
fstring sub_user; /* Sanitised username for substitution */
const char *native_os;
const char *native_lanman;