[PATCH try2] [bug9324] user32: Fix segfault when combobox contains a longer text than buffer_limit

Alex Busenius the_unknown at gmx.net
Sun Oct 21 08:57:56 CDT 2007


Hello,

I have sent this patch a couple of months ago, but in wrong format, I 
hope it's better this time.

This patch fixes the problem with comboboxes having fixed text length. 
For such comboboxes, it is still possible to display a longer text if it 
is set manually, but a user is not able to input a longer text any more.

The current implementation is not aware of this behaviour, and this 
causes negative length in a calculation and a segfault later as soon as 
a user tries to delete some characters in such combobox.

This problem is also described for Mp3Tag in bug #9324

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-user32-Fix-segfault-when-combobox-contains-a-longer.patch
Url: http://www.winehq.org/pipermail/wine-patches/attachments/20071021/014b2169/attachment.txt 


More information about the wine-patches mailing list