Checking FreeRDP with PVS-Studio
... int rdp_server_transition_to_state(rdpRdp* rdp, int state)
... {
....
case CONNECTION_STATE_ACTIVE:
rdp->state = CONNECTION_STATE_ACTIVE ... // <=
....
if (rdp->state > ...
Read more →