http://bugs.winehq.org/show_bug.cgi?id=17822
Dylan Smith dylan.ah.smith@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dylan.ah.smith@gmail.com Status|NEW |ASSIGNED
--- Comment #1 from Dylan Smith dylan.ah.smith@gmail.com 2009-03-22 23:17:41 --- The problem was the lack of a bounds check on EM_GETTEXTRANGE, and not handling the undocumented special case of cpMin==0 && cpMax==-1, which is treated as select all.
I created a patch to fix the bug and sent it to wine-patches.
richedit: Add bounds checks for EM_GETTEXTRANGE with tests. (Bug 17822) http://www.winehq.org/pipermail/wine-patches/2009-March/070916.html