[1/2] comctl32: Fix invalid usage of CompareString in StrStr functions.

Sebastian Lackner sebastian at fds-team.de
Mon Nov 17 02:20:02 CST 2014


StrCmp(...) directly forwards to CompareString*(...) which assumes that both length arguments are valid. This patch fixes the description of StrCmp(...) and modifies code which internally uses StrCmp(...) to avoid invalid memory accesses.

---
 dlls/comctl32/string.c | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-comctl32-Fix-invalid-usage-of-CompareString-in-StrSt.patch
Type: text/x-patch
Size: 2201 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20141117/998fbf69/attachment.bin>


More information about the wine-patches mailing list