FreeRDP/FreeRDP — Issue #398: wfreerdp remotefx issue - need alloc enough memory for wfi->tile 
Author: EricYin
Created: 2012-02-05 04:42:41+00:00
State: open

When using wfreerdp remotefx, app crashed, debug and found code "wfi->tile = wf_bitmap_new(wfi, 64, 64, 24, NULL); ".
need changed to "wfi->tile = wf_bitmap_new(wfi, 64, 64, 32, NULL);"

also in function "wf_create_dib", code "bmi.bmiHeader.biBitCount = 24;" need to be changed to "bmi.bmiHeader.biBitCount = bpp";

after that app run correctly