"Mikolaj Zalewski" mikolaj@zalewski.pl wrote:
- /* The validation is also done in explorer. However we must also do it
* on the client size so that WM_COPYDATA doesn't crash the application
*/
- if (nid->cbSize != NOTIFYICONDATAW_V1_SIZE &&
nid->cbSize != NOTIFYICONDATAW_V2_SIZE &&
nid->cbSize != NOTIFYICONDATAW_V3_SIZE &&
nid->cbSize != sizeof(NOTIFYICONDATAW))
- {
WARN("Invalid size\n");
return FALSE;
- }
Do you have a test case for this?