Skip to content

Commit

Permalink
Improve Golang math-random-used
Browse files Browse the repository at this point in the history
  • Loading branch information
p4p3r authored Jun 17, 2024
1 parent ad49c15 commit 763a2cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/lang/security/audit/crypto/math_random.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ rules:
import "$MATH"
- metavariable-regex:
metavariable: $MATH
regex: ^(math/rand)$
regex: ^(math/rand(\/v[0-9]+)*)$
- pattern-either:
- pattern-inside: |
...
Expand Down

0 comments on commit 763a2cd

Please sign in to comment.