Crypto: Fix QL-for-QL alert and auto-format

This commit is contained in:
Nicolas Will
2025-10-09 13:59:51 +02:00
parent f524de4afc
commit fdba3acc4b
3 changed files with 6 additions and 5 deletions

View File

@@ -115,7 +115,7 @@ private class ConstantDataSourceLiteral extends Crypto::GenericConstantSourceIns
private class ConstantDataSourceArrayInitializer extends Crypto::GenericConstantSourceInstance instanceof ArrayInit
{
ConstantDataSourceArrayInitializer() { exists(Literal l | this.getAnInit() = l) }
ConstantDataSourceArrayInitializer() { this.getAnInit() instanceof Literal }
override DataFlow::Node getOutputNode() { result.asExpr() = this }