Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
Closed
Description
I don't have a Windows machine to check, but I noticed while reading code that the_overlapped.WSAConnect() function callsPyTuple_GET_SIZE on its argument without checking that it is actually a tuple (
Line 1358 in3e07f82
| switch (PyTuple_GET_SIZE(obj)) { |
The following code should reproduce the problem and access out-of-bounds memory:
importasyncio.windows_eventsimportsocketip=asyncio.windows_events.IocpProactor()sock=socket.socket(type=socket.SOCK_DGRAM)ip.connect(sock,None)
Metadata
Metadata
Assignees
Projects
Status
Done