libfreerdp-core/info: [fix] read Length in rdp_recv_logon_info_extended

Now FreeRDP can receive the auto-reconnect cookie from the server
This commit is contained in:
Eduardo Beloni 2011-10-28 15:48:40 -02:00
parent e2186b6732
commit 6a5f584120

View File

@ -635,7 +635,9 @@ void rdp_recv_logon_info_extended(rdpRdp* rdp, STREAM* s)
{
uint32 cbFieldData;
uint32 fieldsPresent;
uint16 Length;
stream_read_uint16(s, Length); /* The total size in bytes of this structure */
stream_read_uint32(s, fieldsPresent); /* fieldsPresent (4 bytes) */
/* logonFields */