Skip to content

Commit 5f7b9f6

Browse files
authored
[NFC][analyzer] Fix copypaste error in security.VAList docs (#157440)
My recent commit a80c393 accidentally added a paragraph which does not belong to the new documentation of the checker `security.VAList`; this commit corrects this mistake.
1 parent bf51a4d commit 5f7b9f6

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

clang/docs/analyzer/checkers.rst

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1866,11 +1866,6 @@ security.VAList (C, C++)
18661866
Reports use of uninitialized (or already released) ``va_list`` objects and
18671867
situations where a ``va_start`` call is not followed by ``va_end``.
18681868
1869-
Report out of bounds access to memory that is before the start or after the end
1870-
of the accessed region (array, heap-allocated region, string literal etc.).
1871-
This usually means incorrect indexing, but the checker also detects access via
1872-
the operators ``*`` and ``->``.
1873-
18741869
.. code-block:: c
18751870
18761871
int test_use_after_release(int x, ...) {

0 commit comments

Comments
 (0)