mirror of
https://github.com/github/codeql.git
synced 2026-04-27 17:55:19 +02:00
Test result that was missing is now found
This commit is contained in:
@@ -158,7 +158,7 @@ func simpleflow() {
|
||||
ch := make(chan string)
|
||||
ch <- a.Src1().(string)
|
||||
taint16 := test.StepArgCollectionContentRes(ch)
|
||||
b.Sink1(taint16) // $ MISSING: hasTaintFlow="taint16" // currently fails due to lack of post-update nodes after send statements
|
||||
b.Sink1(taint16) // $ hasTaintFlow="taint16"
|
||||
|
||||
c1 := test.C{""}
|
||||
c1.Set(a.Src1().(string))
|
||||
|
||||
@@ -158,7 +158,7 @@ func simpleflow() {
|
||||
ch := make(chan string)
|
||||
ch <- a.Src1().(string)
|
||||
taint16 := test.StepArgCollectionContentRes(ch)
|
||||
b.Sink1(taint16) // $ MISSING: hasValueFlow="taint16" // currently fails due to lack of post-update nodes after send statements
|
||||
b.Sink1(taint16) // $ hasValueFlow="taint16"
|
||||
|
||||
c1 := test.C{""}
|
||||
c1.Set(a.Src1().(string))
|
||||
|
||||
Reference in New Issue
Block a user