We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc22e0d commit e49cd83Copy full SHA for e49cd83
cpp/change-notes/2021-09-13-overflow-static.md
@@ -1,6 +1,4 @@
1
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
+* The `memberMayBeVarSize` predicate considers more fields to be variable size.
+ As a result, the "Static buffer overflow" query (cpp/static-buffer-overflow)
+ produces fewer false positives.
0 commit comments