user32:dialog.c Prevention endless loop.

Anatoly Lyutin vostok at etersoft.ru
Thu Aug 23 08:36:51 CDT 2007


A possibly to get a endless loop if a Tabs messages are processed in 
dialog box through IsDialogMessageW .
The reaction of Tabs on WM_GETDLGCODE is return DLGC_WANTARROWS | 
DLGC_WANTCHARS.
WM_KEYDOWN process in IsDialogMessageW in WM_SYSCHAR case. In this case 
calls a DIALOG_IsAccelerator function. Inside this function is do-while 
loop and send WM_GETDLGCODE message. When this message is send to Tabs 
it originates endless loop.

Changelog:
    Prevention endless loop.

-- 
Best regards
	Anatoly Lyutin.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: user32-dialog-IsAccelerator.patch
Type: text/x-patch
Size: 775 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070823/fe2d40ee/user32-dialog-IsAccelerator.bin


More information about the wine-patches mailing list