29 Feb
2016
29 Feb
'16
12:57 p.m.
Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> writes:
@@ -1041,6 +1041,9 @@ TOOLTIPS_AddToolT (TOOLTIPS_INFO *infoPtr, const TTTOOLINFOW *ti, BOOL isW) if (ti->cbSize >= TTTOOLINFOW_V2_SIZE && !ti->lpszText && isW) return FALSE;
+ if(isW && ti->lpszText && IsBadReadPtr(ti->lpszText, sizeof(WCHAR))) + return FALSE;
You want IsBadStringPtrW, and this should most likely be merged with the check above it one way or another. -- Alexandre Julliard julliard(a)winehq.org