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 602495d commit e54b29aCopy full SHA for e54b29a
go/ql/src/experimental/CWE-321/HardcodedKeysLib.qll
@@ -196,7 +196,6 @@ module HardcodedKeys {
196
* contributing a dangerous hardcoded key.
197
*/
198
private class ReturnedAlongsideErrorSanitizerGuard extends Sanitizer {
199
-
200
ReturnedAlongsideErrorSanitizerGuard() {
201
exists(ControlFlow::ConditionGuardNode guard, SsaWithFields errorVar, ReturnStmt r |
202
guard.ensuresNeq(errorVar.getAUse(), Builtin::nil().getARead()) and
@@ -205,7 +204,6 @@ module HardcodedKeys {
205
204
this.asExpr() = r.getExpr(0)
206
)
207
}
208
209
210
211
/** Mark any formatting string call as a sanitizer */
0 commit comments