Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

asyncio: Possible missing typecheck in overlapped.c #98793

Closed
@JelleZijlstra

Description

@JelleZijlstra

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 (

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

No one assigned

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp