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