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 18e882e commit f1540c5Copy full SHA for f1540c5
clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp
@@ -3586,7 +3586,7 @@ void StdLibraryFunctionsChecker::initFunctionSummaries(
3586
.ArgConstraint(BufferSize(
3587
/*Buffer=*/ArgNo(1),
3588
/*MinBufSize=*/BVF.getValue(26, IntTy))));
3589
- .ArgConstraint(NotNull(ArgNo(1)))
+ .ArgConstraint(NotNull(ArgNo(2)))
3590
3591
// struct tm *gmtime_r(const time_t *restrict timer,
3592
// struct tm *restrict result);
0 commit comments