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 dbd1148 commit d2d6b2cCopy full SHA for d2d6b2c
cpp/ql/src/Security/CWE/CWE-497/ExposedSystemData.ql
@@ -324,10 +324,8 @@ abstract class DataOutput extends Element {
324
/**
325
* Data that is output via standard output or standard error.
326
*/
327
-class StandardOutput extends DataOutput {
328
- StandardOutput() { this instanceof OutputWrite }
329
-
330
- override Expr getASource() { result = this.(OutputWrite).getASource() }
+class StandardOutput extends DataOutput instanceof OutputWrite {
+ override Expr getASource() { result = OutputWrite.super.getASource() }
331
}
332
333
private predicate socketCallOrIndirect(FunctionCall call) {
0 commit comments