user32:dialog.c: Prevention endless loop. [try3]
Anatoly Lyutin
vostok at etersoft.ru
Thu Nov 15 09:28:33 CST 2007
A possibly to receive 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.
Should help on bug #9781
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/20071115/da43a584/attachment-0001.bin
More information about the wine-patches
mailing list