Skip to content

Commit e49cd83

Browse files
committed
C++: update change note per suggestion from peer review
1 parent bc22e0d commit e49cd83

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed
Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
lgtm,codescanning
2-
* The `Buffer` library considers more fields to be of variable size
3-
for array members of size 0 or 1. Buffer size calculation of array type
4-
fields of size 0 or 1 in unions are considered pointers to the union
5-
and will return the size of the union itself. The changes reduces
6-
the number of false positives in cpp/static-buffer-overflow
2+
* The `memberMayBeVarSize` predicate considers more fields to be variable size.
3+
As a result, the "Static buffer overflow" query (cpp/static-buffer-overflow)
4+
produces fewer false positives.

0 commit comments

Comments
 (0)