usp10/tests: Reserve for InClass a byte for every character in teststr. (v2)
Huw Davies
huw at codeweavers.com
Thu Aug 4 02:25:22 CDT 2016
On Thu, Aug 04, 2016 at 12:44:58AM +0200, Bernhard Übelacker wrote:
> https://bugs.winehq.org/show_bug.cgi?id=40385
>
> ScriptStringAnalyse crashes if InClass is just one byte in size
> followed by memory marked as PAGE_NOACCESS.
> By testing the size it seems it should have the same size as characters
> in teststr are given to the function.
Hi,
Thanks for getting to the bottom of this.
I don't think we want to test with the PAGE_NOACCESS stuff; it's
pretty clear that MSDN is incorrect and class should indeed be an
array. Just fix the bug and perhaps add a comment somewhere.
Huw.
More information about the wine-devel
mailing list