mirror of
https://github.com/github/codeql.git
synced 2026-04-27 01:35:13 +02:00
replace occurence of AssignExprCfgNode for Oj as well
This commit is contained in:
@@ -180,8 +180,7 @@ module UnsafeDeserialization {
|
||||
* Gets the value being assigned to `Oj.default_options`.
|
||||
*/
|
||||
DataFlow::Node getValue() {
|
||||
result.asExpr() =
|
||||
this.getArgument(0).asExpr().(CfgNodes::ExprNodes::AssignExprCfgNode).getRhs()
|
||||
result = this.getArgument(0)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -266,7 +265,7 @@ module UnsafeDeserialization {
|
||||
* Gets the value being assigned to `Ox.default_options`.
|
||||
*/
|
||||
DataFlow::Node getValue() {
|
||||
result = this.getArgument(0)
|
||||
result = this.getArgument(0)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user