Skip to content

Commit 87dc245

Browse files
authored
[analyzer] Partial revert of #127017 (#128642)
This assertion was hit, as reported by a user. #128427 (comment) Ideally, we would reduce and add a regression test for this, but I don't have the bandwidth for it. See the summary of the issue #128427 for the reproducer.
1 parent 275eeb5 commit 87dc245

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

clang/lib/StaticAnalyzer/Checkers/MacOSKeychainAPIChecker.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,6 @@ void MacOSKeychainAPIChecker::checkPreStmt(const CallExpr *CE,
314314
RegionArgIsBad = true;
315315
}
316316

317-
assert(ArgSM);
318317
// Is the argument to the call being tracked?
319318
const AllocationState *AS = State->get<AllocatedData>(ArgSM);
320319
if (!AS)

0 commit comments

Comments
 (0)