Comment modif + remove redundant cast

This commit is contained in:
Sim4n6
2023-02-08 21:14:53 +01:00
parent ec82d61991
commit 9e285020a1

View File

@@ -24,7 +24,7 @@ API::Node tarfileOpen() {
}
/**
* Handle the previous three cases, plus the use of `closing` in the previous cases
* A class for handling the previous three cases, plus the use of `closing` in with the previous cases
*/
class AllTarfileOpens extends API::CallNode {
AllTarfileOpens() {
@@ -153,7 +153,7 @@ class UnsafeUnpackingConfig extends TaintTracking::Configuration {
// Open a file for access using builtin
exists(API::CallNode cn |
cn = API::builtin("open").getACall() and
nodeTo = cn.(API::CallNode).getArg(0) and
nodeTo = cn.getArg(0) and
cn.flowsTo(nodeFrom)
)
or