[PATCH] twain_32: Fix crash by call TWAIN_UserSelect twice.

Jactry Zeng jzeng at codeweavers.com
Tue Jun 1 09:37:20 CDT 2021


On 6/1/21 10:27 PM, Jactry Zeng wrote:
> On 6/1/21 9:22 PM, Jiajin Cui wrote:
>>  
>>      twain_autodetect();
>>  
>> +    if (!IsWindow(parent))
>> +        parent = *(HWND*)DSM_parent;
>> +
> If this is true, you would need to remove the following check.
Sorry, please ignore this comment.
> And I think attaching some tests to verify it won't hurt.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20210601/e539b68d/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20210601/e539b68d/attachment.sig>


More information about the wine-devel mailing list