Skip to content

Commit a19718a

Browse files
committed
add fs.link and fs.linkSync as writing file system calls
1 parent 396ccda commit a19718a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

javascript/ql/src/semmle/javascript/frameworks/NodeJSLib.qll

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,9 @@ module NodeJSLib {
479479
methodName = "write" or
480480
methodName = "writeFile" or
481481
methodName = "writeFileSync" or
482-
methodName = "writeSync"
482+
methodName = "writeSync" or
483+
methodName = "link" or
484+
methodName = "linkSync"
483485
}
484486

485487
override DataFlow::Node getADataNode() {

0 commit comments

Comments
 (0)