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 2a194a5 commit 24c9b2eCopy full SHA for 24c9b2e
javascript/ql/test/query-tests/Security/CWE-078/UselessUseOfCat/uselesscat.js
@@ -41,7 +41,7 @@ execSync(`cat ${newpath} > ${destpath}`).toString();
41
42
execSync(`cat ${files.join(' ')} > ${outFile}`);
43
44
-execSync(`cat ${files.join(' ')}`); // $ SPURIOUS: Alert - - but flagged - not just a simple file read
+execSync(`cat ${files.join(' ')}`); // $ SPURIOUS: Alert - not just a simple file read
45
46
exec("cat /proc/cpuinfo | grep name"); // OK - pipes
47
0 commit comments