Skip to content

Commit 24c9b2e

Browse files
asgerfNapalys
andauthored
Update javascript/ql/test/query-tests/Security/CWE-078/UselessUseOfCat/uselesscat.js
Co-authored-by: Napalys Klicius <[email protected]>
1 parent 2a194a5 commit 24c9b2e

File tree

1 file changed

+1
-1
lines changed
  • javascript/ql/test/query-tests/Security/CWE-078/UselessUseOfCat

1 file changed

+1
-1
lines changed

javascript/ql/test/query-tests/Security/CWE-078/UselessUseOfCat/uselesscat.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ execSync(`cat ${newpath} > ${destpath}`).toString();
4141

4242
execSync(`cat ${files.join(' ')} > ${outFile}`);
4343

44-
execSync(`cat ${files.join(' ')}`); // $ SPURIOUS: Alert - - but flagged - not just a simple file read
44+
execSync(`cat ${files.join(' ')}`); // $ SPURIOUS: Alert - not just a simple file read
4545

4646
exec("cat /proc/cpuinfo | grep name"); // OK - pipes
4747

0 commit comments

Comments
 (0)