Skip to content

Commit 6837af9

Browse files
atorralbageoffw0
andcommitted
Apply suggestions from code review
Co-authored-by: Geoffrey White <[email protected]>
1 parent 11c03fb commit 6837af9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

swift/ql/src/queries/Security/CWE-943/PredicateInjection.qhelp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ be able to change the overall meaning of the predicate.
1111
<p>
1212
When building a predicate from untrusted data, pass it to the appropriate <code>arguments</code> parameter
1313
during initialization, or as an array of substitution variables before evaluation, instead of appending
14-
or concatenating it to the body ofthe predicate.
14+
or concatenating it to the body of the predicate.
1515
</p>
1616
</recommendation>
1717
<example>

swift/ql/src/queries/Security/CWE-943/PredicateInjection.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* @name Predicate built from user-controlled sources
3-
* @description Building a NSPredicate from user-controlled sources may lead to attackers
3+
* @description Building an NSPredicate from user-controlled sources may lead to attackers
44
* changing the predicate's intended logic.
55
* @kind path-problem
66
* @problem.severity error

0 commit comments

Comments
 (0)