Skip to content

[Security] do not construct Vote instances inside vote() #60550

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 26, 2025

Conversation

xabbuh
Copy link
Member

@xabbuh xabbuh commented May 26, 2025

Q A
Branch? 7.3
Bug fix? no
New feature? no
Deprecations? no
Issues
License MIT

The so constructed objects will never be seen from the outside. Thus, adding reasons to them doesn't have an effect.

@xabbuh xabbuh force-pushed the pr-59150-59771 branch 4 times, most recently from e908f8c to 3171209 Compare May 26, 2025 10:05
The so constructed objects will never be seen from the outside. Thus, adding
reasons to them doesn't have an effect.
@nicolas-grekas
Copy link
Member

Thank you @xabbuh.

@nicolas-grekas nicolas-grekas merged commit cbab5a8 into symfony:7.3 May 26, 2025
11 checks passed
@xabbuh xabbuh deleted the pr-59150-59771 branch May 26, 2025 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants