Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug #54248 [Security] Correctly initialize the voter property (aschempp)
This PR was squashed before being merged into the 5.4 branch. Discussion ---------- [Security] Correctly initialize the voter property | Q | A | ------------- | --- | Branch? | 5.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Issues | #54225 | License | MIT This fixes the basic issue that causes #54225. If `getVoters()` returns an empty array, the `$this->data['voters']` property is never initialized, and therefore returns an invalid value. `@fritzmg` or I will follow up if necessary with a fix about decorated access decision managers that cannot "provide" their voters for tracing. Commits ------- b184401 [Security] Correctly initialize the voter property
- Loading branch information