mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
s3: Fix an uninitialized variable read
Found by Laurent Gaffie <laurent.gaffie@gmail.com> Thanks for that, Volker
This commit is contained in:
parent
c35c38075c
commit
3b73698715
@ -1214,7 +1214,7 @@ static void reply_sesssetup_and_X_spnego(struct smb_request *req)
|
||||
file_save("negotiate.dat", blob1.data, blob1.length);
|
||||
#endif
|
||||
|
||||
p2 = (char *)req->buf + data_blob_len;
|
||||
p2 = (char *)req->buf + blob1.length;
|
||||
|
||||
p2 += srvstr_pull_req_talloc(talloc_tos(), req, &tmp, p2,
|
||||
STR_TERMINATE);
|
||||
|
Loading…
Reference in New Issue
Block a user