Skip to content

Commit 56aacb5

Browse files
authored
Remove outdated Coverity exception on Py_VA_COPY (#881)
1 parent 89c9b1e commit 56aacb5

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

coverity.rst

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -80,18 +80,6 @@ False positives
8080
``path_t.nullable`` is explicitly enabled. CID 719648
8181

8282

83-
Intentionally
84-
-------------
85-
86-
``Py_VA_COPY()``
87-
Python is written in C89 (ANSI C), therefore it can't use C99 features such
88-
as ``va_copy()``. Python's own variant ``Py_VA_COPY()`` uses ``memcpy()``
89-
to make a copy of a ``va_list`` variable. Coverity detects two issues in
90-
this approach: "Passing argument "lva" of type "va_list" and sizeof(va_list)
91-
to function memcpy() is suspicious." CID 486405 and "Uninitialized pointer
92-
read" CID 486630.
93-
94-
9583
Modeling
9684
========
9785

0 commit comments

Comments
 (0)