mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
s3: smbd: Uncorrupt the pointer we were using to prove a crash.
Rather than restore to uninitialized, set to NULL as per modern coding practices. BUG: https://bugzilla.samba.org/show_bug.cgi?id=15420 Reviewed-by: Volker Lendecke <vl@samba.org> Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org>
This commit is contained in:
parent
9220c45cc1
commit
5bc50d2ea4
@ -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 *)0xDEADBEEF;
|
||||
char *tmp = NULL;
|
||||
fstring sub_user; /* Sanitised username for substitution */
|
||||
const char *native_os;
|
||||
const char *native_lanman;
|
||||
|
Loading…
Reference in New Issue
Block a user