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 b73fe0b commit 338ab96Copy full SHA for 338ab96
cpp/ql/src/Security/CWE/CWE-704/WcharCharConversion.ql
@@ -20,10 +20,8 @@ class WideCharPointerType extends PointerType {
20
}
21
22
/**
23
- * Recurse through types to find any intermediate type or final type
24
- * that suggests the type is unlikely to be a string.
25
- * Specifically looking for any unsigned character, or datatype with name containing "byte"
26
- * or datatype uint8_t.
+ * Given type `cur`, recurses through all intermediate types to find
+ * any intermediate type equal to type `targ`
27
*/
28
predicate hasIntermediateType(Type cur, Type targ) {
29
cur = targ
0 commit comments