Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
minor symfony#50853 [Security]
random_bytes
length should be an int…
… greater than 7 (asispts) This PR was merged into the 5.4 branch. Discussion ---------- [Security] `random_bytes` length should be an int greater than 7 | Q | A | ------------- | --- | Branch? | 5.4 | Bug fix? | yes | New feature? | no <!-- please update src/**/CHANGELOG.md files --> | Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files --> | Tickets | | License | MIT | Doc PR | `random_bytes` can only accept an `int<1, max>` value. - See: https://3v4l.org/tHf9P - See: https://3v4l.org/u57Ol This PR ensures that the value passed to `random_bytes` is an integer greater than 0. Commits ------- 9b80238 random_bytes length should be an int greater than 0
- Loading branch information