wallix/redemption — Issue #3: assert fails in debug build
Author: panovodv
Created: 2011-10-10 21:35:46+00:00
State: open

rdpproxy: core/RDP/mcs.hpp:2007: void send_mcs_connect_response_pdu_with_gcc_conference_create_response(Transport*, ClientInfo*, const ChannelList&, uint8_t (&)[32], int, uint8_t (&)[512], uint8_t (&)[512]): Assertion `offset_len_mcs_connect_response - offset_len_mcs_data == 38' failed.

Do you get this too or you're using different compiler?

Patch is simple:

- assert(offset_len_mcs_connect_response - offset_len_mcs_data == 38);
+ assert(offset_len_mcs_data - offset_len_mcs_connect_response == 38);