]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-69214: Fix fcntl.ioctl() request type (GH-119498) (#119504)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 24 May 2024 12:54:59 +0000 (14:54 +0200)
committerGitHub <noreply@github.com>
Fri, 24 May 2024 12:54:59 +0000 (12:54 +0000)
commit0bab0b3a53da735838720f96f3d3bf86ca6ba125
treecd5d0eb10ece68d4fd92e1fbd8755947e98b4873
parentc864efba25465eb6a4fff7e0a6df80a9ba449370
[3.13] gh-69214: Fix fcntl.ioctl() request type (GH-119498) (#119504)

gh-69214: Fix fcntl.ioctl() request type (GH-119498)

Use an 'unsigned long' instead of an 'unsigned int' for the request
parameter of fcntl.ioctl() to support requests larger than UINT_MAX.
(cherry picked from commit 92fab3356f4c61d4c73606e4fae705c6d8f6213b)

Co-authored-by: Victor Stinner <vstinner@python.org>
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