File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
cpp/ql/src/semmle/code/cpp/security Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ class ExternalAPIUsedWithUntrustedData extends TExternalAPI {
3535
3636 /** Gets the number of untrusted sources used with this external API. */
3737 int getNumberOfUntrustedSources ( ) {
38- result = count ( getUntrustedDataNode ( ) .getAnUntrustedSource ( ) )
38+ result = strictcount ( getUntrustedDataNode ( ) .getAnUntrustedSource ( ) )
3939 }
4040
4141 /** Gets a textual representation of this element. */
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ class ExternalAPIUsedWithUntrustedData extends TExternalAPI {
3535
3636 /** Gets the number of untrusted sources used with this external API. */
3737 int getNumberOfUntrustedSources ( ) {
38- result = count ( getUntrustedDataNode ( ) .getAnUntrustedSource ( ) )
38+ result = strictcount ( getUntrustedDataNode ( ) .getAnUntrustedSource ( ) )
3939 }
4040
4141 /** Gets a textual representation of this element. */
You can’t perform that action at this time.
0 commit comments