mirror of
https://github.com/github/codeql.git
synced 2026-04-27 17:55:19 +02:00
C++: Shorten alert message
We don't write the reason for the alert in the alert message.
This commit is contained in:
@@ -326,5 +326,5 @@ from LoopWithAlloca l
|
||||
where
|
||||
not l.(DoStmt).getCondition().getValue() = "0" and
|
||||
not l.isTightlyBounded()
|
||||
select l.getAnAllocaCall(), "Stack allocation is inside a $@ and could lead to stack overflow.", l,
|
||||
select l.getAnAllocaCall(), "Stack allocation is inside a $@ loop.", l,
|
||||
l.toString()
|
||||
|
||||
Reference in New Issue
Block a user