1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-25 14:50:24 +03:00

lsa_io_r_req_chal() - challenge is not 4-byte aligned after the unicode

strings.
(This used to be commit 717bcd6e3457f355583b4508d1f4edc9a52650df)
This commit is contained in:
Luke Leighton 1997-10-13 18:11:20 +00:00
parent c87abfc565
commit 8c3fedf612

View File

@ -247,7 +247,9 @@ char* lsa_io_q_req_chal(BOOL io, LSA_Q_REQ_CHAL *q_c, char *q, char *base, int a
q = smb_io_unistr2(io, &(q_c->uni_logon_srv), q, base, align, depth); /* logon server unicode string */
q = smb_io_unistr2(io, &(q_c->uni_logon_clnt), q, base, align, depth); /* logon client unicode string */
q = smb_io_chal(io, &(q_c->clnt_chal), q, base, align, depth); /* client challenge */
/* client challenge is _not_ aligned after the unicode strings */
q = smb_io_chal(io, &(q_c->clnt_chal), q, base, 0, depth); /* client challenge */
return q;
}