Re: user32: RegisterClassEx should check for invalid cbSize field.

2010-07-17 Thread Dylan Smith
On Sat, Jul 17, 2010 at 11:32 PM, Dmitry Timoshkov wrote: > > Testing other values besides 0 would be helpful, in particular values like > sizeof(class) - 1 and sizeof(class) + 1. Did you inspect all the places > in Wine which call RegisterClassEx()? Also, GetClassInfoEx() in Wine is an > obvious

Re: user32: RegisterClassEx should check for invalid cbSize field.

2010-07-17 Thread Dmitry Timoshkov
Dylan Smith wrote: > +wcexA.cbSize= 0; > +wcexA.style = cls.style; > +wcexA.lpfnWndProc = cls.lpfnWndProc; > +wcexA.cbClsExtra= cls.cbClsExtra; > +wcexA.cbWndExtra= cls.cbWndExtra; > +wcexA.hInstance = cls.hInstance; > +wcexA.hIcon