We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e87effc commit 3c8bc96Copy full SHA for 3c8bc96
ruby/ql/lib/codeql/ruby/security/UnsafeDeserializationCustomizations.qll
@@ -180,8 +180,7 @@ module UnsafeDeserialization {
180
* Gets the value being assigned to `Oj.default_options`.
181
*/
182
DataFlow::Node getValue() {
183
- result.asExpr() =
184
- this.getArgument(0).asExpr().(CfgNodes::ExprNodes::AssignExprCfgNode).getRhs()
+ result = this.getArgument(0)
185
}
186
187
@@ -266,7 +265,7 @@ module UnsafeDeserialization {
266
265
* Gets the value being assigned to `Ox.default_options`.
267
268
269
- result = this.getArgument(0)
270
271
272
0 commit comments