]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-69214: Fix fcntl.ioctl() request type (#119498) (#119505)
authorVictor Stinner <vstinner@python.org>
Fri, 24 May 2024 12:53:41 +0000 (14:53 +0200)
committerGitHub <noreply@github.com>
Fri, 24 May 2024 12:53:41 +0000 (12:53 +0000)
commit078da88ad19e8f7474b6943edd39b7e61511bd20
tree5bb95988c2f38172347764b914d9963cdefac16f
parent2b091b9aa9a6ca5e2a34654dde909c5bdfc52fa8
[3.12] gh-69214: Fix fcntl.ioctl() request type (#119498) (#119505)

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.

(cherry picked from commit 92fab3356f4c61d4c73606e4fae705c6d8f6213b)
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