]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-69214: Fix fcntl.ioctl() request type (#119498)
authorVictor Stinner <vstinner@python.org>
Fri, 24 May 2024 12:31:40 +0000 (14:31 +0200)
committerGitHub <noreply@github.com>
Fri, 24 May 2024 12:31:40 +0000 (14:31 +0200)
commit92fab3356f4c61d4c73606e4fae705c6d8f6213b
treed29ef6ae86d34af906b05a4541681a163dca5b71
parentb48a3dbff4d70e72797e67b46276564fc63ddb89
gh-69214: Fix fcntl.ioctl() request type (#119498)

Use an 'unsigned long' instead of an 'unsigned int' for the request
parameter of fcntl.ioctl() to support requests larger than UINT_MAX.
Misc/NEWS.d/next/Library/2024-05-24-11-47-08.gh-issue-69214.Grl6zF.rst [new file with mode: 0644]
Modules/clinic/fcntlmodule.c.h
Modules/fcntlmodule.c