mirror of
https://github.com/github/codeql.git
synced 2026-04-18 21:44:02 +02:00
Apply suggestions from code review
Co-authored-by: Geoffrey White <40627776+geoffw0@users.noreply.github.com>
This commit is contained in:
@@ -11,7 +11,7 @@ be able to change the overall meaning of the predicate.
|
||||
<p>
|
||||
When building a predicate from untrusted data, pass it to the appropriate <code>arguments</code> parameter
|
||||
during initialization, or as an array of substitution variables before evaluation, instead of appending
|
||||
or concatenating it to the body ofthe predicate.
|
||||
or concatenating it to the body of the predicate.
|
||||
</p>
|
||||
</recommendation>
|
||||
<example>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/**
|
||||
* @name Predicate built from user-controlled sources
|
||||
* @description Building a NSPredicate from user-controlled sources may lead to attackers
|
||||
* @description Building an NSPredicate from user-controlled sources may lead to attackers
|
||||
* changing the predicate's intended logic.
|
||||
* @kind path-problem
|
||||
* @problem.severity error
|
||||
|
||||
Reference in New Issue
Block a user