Emil Velikov (@xexaxo) commented about dlls/win32u/dce.c:
void create_offscreen_window_surface( HWND hwnd, const RECT *visible_rect, struct window_surface **surface ) {
- char buffer[FIELD_OFFSET( BITMAPINFO, bmiColors[256] )];
Does we need the 256 here?
Note that *Clr* and *PelsPer* bits in the header are not initialised, so we pick random values off the stack.