Skip to content

Commit d7314a1

Browse files
committed
File format
1 parent 6c8fbe8 commit d7314a1

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

ruby/ql/lib/codeql/ruby/security/InsecureRandomnessCustomizations.qll

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Provides default sources, sinks, and sanitizers for reasoning about random values that
2+
* Provides default sources, sinks, and sanitizers for reasoning about random values that
33
* are not cryptographically secure, as well as extension points for adding your own.
44
*/
55

@@ -12,7 +12,7 @@ private import codeql.ruby.ApiGraphs
1212
import codeql.ruby.frameworks.core.Kernel
1313

1414
/**
15-
* Provides default sources, sinks, and sanitizers for reasoning about random values that
15+
* Provides default sources, sinks, and sanitizers for reasoning about random values that
1616
* are not cryptographically secure, as well as extension points for adding your own.
1717
*/
1818
module InsecureRandomness {
@@ -41,7 +41,8 @@ module InsecureRandomness {
4141
this.getReceiver().asExpr().getExpr() instanceof SelfVariableAccess and
4242
super.getMethodName() = "rand"
4343
)
44-
or this.(Kernel::KernelMethodCall).getMethodName() = "rand"
44+
or
45+
this.(Kernel::KernelMethodCall).getMethodName() = "rand"
4546
}
4647
}
4748

0 commit comments

Comments
 (0)