Skip to content

Commit 2dd1c06

Browse files
author
Robert Marsh
committed
C++: fix use of getUnspecifiedType on Node
1 parent dbdaa1d commit 2dd1c06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/ql/src/Security/CWE/CWE-732/UnsafeDaclSecurityDescriptor.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ class NonNullDaclConfig extends DataFlow2::Configuration {
6060
}
6161

6262
override predicate isSource(DataFlow::Node source) {
63-
source.getUnspecifiedType().(PointerType).getBaseType() =
63+
source.getType().getUnspecifiedType().(PointerType).getBaseType() =
6464
any(Type t | t.getName() = "ACL").getUnspecifiedType() and
6565
(
6666
// If the value comes from a function whose body we can't see, assume

0 commit comments

Comments
 (0)