mirror of
https://github.com/github/codeql.git
synced 2026-05-02 20:25:13 +02:00
Improve data flow in the async library
This commit is contained in:
@@ -1,7 +1,15 @@
|
||||
let async_ = require('async');
|
||||
let waterfall = require('a-sync-waterfall');
|
||||
|
||||
var source, sink, somethingWrong;
|
||||
function source() {
|
||||
return 'TAINT'
|
||||
}
|
||||
|
||||
function sink(x) {
|
||||
console.log(x)
|
||||
}
|
||||
|
||||
var somethingWrong;
|
||||
|
||||
async_.waterfall([
|
||||
function(callback) {
|
||||
|
||||
Reference in New Issue
Block a user