-
Notifications
You must be signed in to change notification settings - Fork 262
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IOCTL_AFD_SET_CONTEXT data structure does not match known format #375
Comments
From [email protected] on May 09, 2011 14:49:48 This issue was closed by revision r287 . Status: Fixed |
From [email protected] on May 27, 2011 05:45:55 Are you sure your fix was correct? On XP32 with the test from issue #412 : |
From [email protected] on May 27, 2011 05:55:21 And on W7 x64 Are you sure that the XP you were testing was x64? |
From [email protected] on May 27, 2011 08:03:33 perhaps the original struct is what 5.1 and earlier use. xp64 is based on 5.2 (win2003). weird that they'd break backward compatibility, even at winsock level. |
From [email protected] on May 27, 2011 08:15:53 (How) Can we if/else the code to take that into account? |
From [email protected] on May 27, 2011 08:25:37 two structs and perhaps clean up version checking with DRi#304 re-opening issue Status: Accepted |
From [email protected] on May 27, 2011 12:26:24 FTR, here's a word-by-word diff of the SOCKET_CONTEXT contents on XP32 and W7_64:
|
From [email protected] on May 27, 2011 12:34:28 XP bytes [112...128) = zeroes XP [128...140) = zeroes Also, XP[144] = 0x02 = W7[160] Looks like the +16 offset is constant - WDYT? Maybe the 13th byte means "do we put in the GUID?" (just a speculation) Anyways, I think we should add |
From [email protected] on May 27, 2011 14:45:06 feel free to take over as this is not my highest priority and I won't get to it for a bit. note that originally I tracked the data from WSAPROTOCOL_INFO at WSPSocket() to the syscall on xp64 and win7x64 and confirmed that the GUID was a real guid: matches the provider id in the winsock catalog. we should see exactly what happens to the guid on xp32, and look at perhaps 2K, etc. and winsock version fields to see what the real trigger is. also note that on xp64 w/ issue #68 app 2 subpieces of the helper data were uninit. |
From [email protected] on May 27, 2011 18:40:23 Owner: --- |
From [email protected] on May 29, 2011 23:59:37 Issue 421 has been merged into this issue. |
From [email protected] on May 30, 2011 00:03:27 OK, taking over. FTR, on Windows Server 2008 x64 (pre- R2 ), the SOCKET_CONTEXT values match those of W7 x64. Status: Started |
From [email protected] on June 01, 2011 04:41:02 Should be fixed by r314 except for the unknown HelperData format (splitted into issue #424 ) Status: Fixed |
From [email protected] on May 04, 2011 14:01:19
the SOCKET_CONTEXT structure doesn't seem to match what I observe being used by winsock for IOCTL_AFD_SET_CONTEXT on both XP and win7: beyond SOCK_SHARED_INFO the fields are all different. this case covers investigating.
Original issue: http://code.google.com/p/drmemory/issues/detail?id=375
The text was updated successfully, but these errors were encountered: