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

fcntl.ioctl raises SystemError: buffer overflow instead of ValueError when mutating undersized buffers #144206

Open
Labels
extension-modulesC modules in the Modules dirpendingThe issue will be closed if no feedback is providedtype-bugAn unexpected behavior, bug, or error
@YuanchengJiang

Description

@YuanchengJiang

Bug report

Bug description:

importfcntlimporttermioswithopen('/dev/tty','rb')asfd:fcntl.ioctl(fd,termios.TIOCGPGRP,b'',True)
fcntl.ioctl(fd, termios.TIOCGPGRP, b'', True)    ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^SystemError: buffer overflow

CPython versions tested on:

CPython main branch

Operating systems tested on:

Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    extension-modulesC modules in the Modules dirpendingThe issue will be closed if no feedback is providedtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2026 Movatter.jp