mirror of
https://github.com/github/codeql.git
synced 2026-04-26 01:05:15 +02:00
Update javascript/ql/test/query-tests/Security/CWE-078/UselessUseOfCat/uselesscat.js
Co-authored-by: Napalys Klicius <napalys@github.com>
This commit is contained in:
@@ -41,7 +41,7 @@ execSync(`cat ${newpath} > ${destpath}`).toString();
|
||||
|
||||
execSync(`cat ${files.join(' ')} > ${outFile}`);
|
||||
|
||||
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
|
||||
|
||||
exec("cat /proc/cpuinfo | grep name"); // OK - pipes
|
||||
|
||||
|
||||
Reference in New Issue
Block a user