FreeRDP/FreeRDP — pull request #557 by dpoe (2012-04-18 17:34:37+00:00)
Title: Fix for audin:alsa parameter parsing

The original code looked at data[2].size to figure out whether to copy parameter data from data->data[2]. But the top-level "data" pointer is not an index into an array, and the size member does not reflect the size of any individual drdynvc parameter. Result: bad data access causes problems, especially when the dynamic channel audin:alsa is used with another dynamic channel, ranging from dynamic channels malfunctioning to a black-screen stall in xfreerdp when starting up.