]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-132915: Try to detect a buffer overflow in fcntl() and ioctl() (GH-132919)
authorSerhiy Storchaka <storchaka@gmail.com>
Mon, 28 Apr 2025 14:56:10 +0000 (17:56 +0300)
committerGitHub <noreply@github.com>
Mon, 28 Apr 2025 14:56:10 +0000 (17:56 +0300)
commitc2eaeee3dc3306ca486b0377b07b1a957584b691
treefb03255d1fde51dc28d7a14405b6d5398976a62f
parent0f84f6b334e4340798fb2ec4e1ca21ad838db339
gh-132915: Try to detect a buffer overflow in fcntl() and ioctl() (GH-132919)

SystemError is raised when buffer overflow is detected.
The stack and memory can already be corrupted, so treat this error as fatal.
Misc/NEWS.d/next/Library/2025-04-25-12-55-06.gh-issue-132915.XuKCXn.rst [new file with mode: 0644]
Modules/fcntlmodule.c