mirror of
https://github.com/github/codeql.git
synced 2026-04-26 01:05:15 +02:00
Apply suggestions from code review
Co-authored-by: Chris Smowton <smowton@github.com>
This commit is contained in:
committed by
Artem Smotrakov
parent
c367c7e33b
commit
e02530749b
@@ -9,8 +9,8 @@ class UnsafeDeserializationTest extends InlineExpectationsTest {
|
||||
|
||||
override predicate hasActualResult(Location location, string element, string tag, string value) {
|
||||
tag = "unsafeDeserialization" and
|
||||
exists(DataFlow::Node src, DataFlow::Node sink, UnsafeDeserializationConfig conf |
|
||||
conf.hasFlow(src, sink)
|
||||
exists(DataFlow::Node sink, UnsafeDeserializationConfig conf |
|
||||
conf.hasFlowTo(sink)
|
||||
|
|
||||
sink.getLocation() = location and
|
||||
element = sink.toString() and
|
||||
|
||||
Reference in New Issue
Block a user