Skip to content

Commit d672f8f

Browse files
author
Robert Marsh
committed
C++: unflip cause strings in FunctionWithWrapper
1 parent d09f78d commit d672f8f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cpp/ql/src/semmle/code/cpp/security/FunctionWithWrappers.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,8 @@ abstract class FunctionWithWrappers extends Function {
106106
pragma[nomagic]
107107
private string wrapperFunctionAnyDepthUnique(Function func, int paramIndex) {
108108
result =
109-
min(string targetCause | this.wrapperFunctionAnyDepth(func, paramIndex, targetCause)) +
110-
", which ends up calling " + toCause(func, paramIndex)
109+
toCause(func, paramIndex) + ", which ends up calling " +
110+
min(string targetCause | this.wrapperFunctionAnyDepth(func, paramIndex, targetCause))
111111
}
112112

113113
/**

0 commit comments

Comments
 (0)