Skip to content

Commit cdb7a00

Browse files
Зишан МирзаZishan Mirza
authored andcommitted
fix argument number
1 parent 81fe4bd commit cdb7a00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3585,7 +3585,7 @@ void StdLibraryFunctionsChecker::initFunctionSummaries(
35853585
.ArgConstraint(BufferSize(
35863586
/*Buffer=*/ArgNo(1),
35873587
/*MinBufSize=*/BVF.getValue(26, IntTy))));
3588-
.ArgConstraint(NotNull(ArgNo(1)))
3588+
.ArgConstraint(NotNull(ArgNo(2)))
35893589

35903590
// struct tm *gmtime_r(const time_t *restrict timer,
35913591
// struct tm *restrict result);

0 commit comments

Comments
 (0)