user32:dialog.c: Prevention endless loop.
Anatoly Lyutin
vostok at etersoft.ru
Wed Sep 26 09:41:03 CDT 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/20070926/0cb65d2c/attachment.bin
More information about the wine-patches
mailing list