diff options
author | Gregory P. Smith <greg@krypto.org> | 2020-06-20 22:06:48 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-20 22:06:48 (GMT) |
commit | 3ccb96c9782480e5ce646a4a130569fb92f2965d (patch) | |
tree | edc57d4253707950df64855fb1809da2817eb42b /Misc | |
parent | eb0d5c38de7f970d8cd8524f4163d831c7720f51 (diff) | |
download | cpython-3ccb96c9782480e5ce646a4a130569fb92f2965d.zip cpython-3ccb96c9782480e5ce646a4a130569fb92f2965d.tar.gz cpython-3ccb96c9782480e5ce646a4a130569fb92f2965d.tar.bz2 |
bpo-41056: Use the fildes converter for fd to please Coverity. (GH-21011)
There are a bunch of other fd: int uses in this file, I expect many if not
all of them would be better off using the fildes converter. This particular
one was flagged by Coverity as it presumably flags fpathconf as not accepting
negative fds. I'd expect the other fd's to have been flagged as well
otherwise.
I'm marking this one as skip news as it really is a no-op.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2020-06-20-18-37-29.bpo-41056.d9v_uL.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2020-06-20-18-37-29.bpo-41056.d9v_uL.rst b/Misc/NEWS.d/next/Library/2020-06-20-18-37-29.bpo-41056.d9v_uL.rst new file mode 100644 index 0000000..ddcc110 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2020-06-20-18-37-29.bpo-41056.d9v_uL.rst @@ -0,0 +1 @@ +Invalid file descriptor values are now prevented from being passed to os.fpathconf. (discovered by Coverity)
\ No newline at end of file |