Fixed some obvious things; still doesn't work.
This commit is contained in:
parent
4aeb52aace
commit
e11dd6d588
@ -107,9 +107,10 @@ boolean rdp_recv_server_redirection_pdu(rdpRdp* rdp, STREAM* s)
|
||||
uint32 passwordLength;
|
||||
stream_read_uint32(s, passwordLength);
|
||||
freerdp_blob_alloc(redirection->password_cookie, passwordLength);
|
||||
stream_read(s, redirection->password_cookie->data, passwordLength);
|
||||
#ifdef WITH_DEBUG_REDIR
|
||||
DEBUG_REDIR("password_cookie:");
|
||||
freerdp_hexdump(redirection->password_cookie.data, redirection->password_cookie.length);
|
||||
freerdp_hexdump(redirection->password_cookie->data, redirection->password_cookie->length);
|
||||
#endif
|
||||
}
|
||||
|
||||
@ -200,7 +201,7 @@ void redirection_free(rdpRedirection* redirection)
|
||||
freerdp_string_free(&redirection->tsvUrl);
|
||||
freerdp_string_free(&redirection->username);
|
||||
freerdp_string_free(&redirection->domain);
|
||||
freerdp_blob_free(&redirection->password_cookie);
|
||||
freerdp_blob_free(redirection->password_cookie);
|
||||
freerdp_string_free(&redirection->targetFQDN);
|
||||
freerdp_string_free(&redirection->targetNetBiosName);
|
||||
freerdp_string_free(&redirection->targetNetAddress);
|
||||
|
Loading…
x
Reference in New Issue
Block a user