user32: avoid NULL pointer access in DefWindowProcA WM_NCCREATE

Jan Zerebecki jan.wine at zerebecki.de
Fri Mar 9 18:22:25 CST 2007


On Fri, Mar 09, 2007 at 03:53:17PM +0100, Felix Nawothnig wrote:
> Jan Zerebecki wrote:
> >>cs is never NULL at that point.
> >Where should it be checked for NULL, then? Or what does it prevent to be
> >NULL?
> 
> cs == lParam. And this code is inside if (lParam != NULL).

Sorry, I missed that, because it was only recently added.


Jan




More information about the wine-devel mailing list