You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| Resource not released in destructor | Fewer false positive results | Placement new is now excluded from the query. |
16
-
| Wrong type of arguments to formatting function | Fewer false positive results | False positive results involving typedefs have been removed. |
17
16
| Missing return statement (`cpp/missing-return`) | Visible by default | The precision of this query has been increased from 'medium' to 'high', which makes it visible by default in LGTM. It was 'medium' in release 1.17 and 1.18 because it had false positives due to an extractor bug that was fixed in 1.18. |
17
+
| Wrong type of arguments to formatting function | Fewer false positive results | False positive results involving typedefs have been removed. Expected argument types are determined more accurately, especially for wide string and pointer types. Custom (non-standard) formatting functions are also identified more accurately. |
Copy file name to clipboardExpand all lines: cpp/ql/test/query-tests/Likely Bugs/Format/WrongNumberOfFormatArguments/WrongNumberOfFormatArguments.expected
-1Lines changed: 0 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,4 @@
1
1
| custom_printf.cpp:29:5:29:12 | call to myPrintf | Format expects 2 arguments but given 1 |
2
-
| custom_printf.cpp:45:2:45:7 | call to printf | Format expects 2 arguments but given 0 |
3
2
| macros.cpp:14:2:14:37 | call to printf | Format expects 4 arguments but given 3 |
4
3
| macros.cpp:21:2:21:36 | call to printf | Format expects 4 arguments but given 3 |
5
4
| test.c:9:2:9:7 | call to printf | Format expects 1 arguments but given 0 |
0 commit comments