Skip to content
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

Fix infinite loop in role hierarchy resolving #7106

Merged
merged 3 commits into from
Jul 23, 2019

Conversation

karelmaxa
Copy link
Contributor

This PR resolves issue with infinite loop in role hierarchy resolving.

The original issue has been resolved in first two commits (2d36062, d3eaef6). Last commit (be0ad67) simplifies the implementation in general meaning and removes unnecessary logic (logic related to the comparison of custom GrantedAuthority implementations). We are convinced that the readability of the component is much more better, but it is not necessary to merge this commit as well.

Fixes gh-7035

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Jul 15, 2019
@rwinch rwinch self-assigned this Jul 23, 2019
@rwinch rwinch added in: core An issue in spring-security-core type: bug A general bug labels Jul 23, 2019
@rwinch rwinch added this to the 5.2.0.M4 milestone Jul 23, 2019
@rwinch rwinch merged commit 8f83295 into spring-projects:master Jul 23, 2019
@rwinch
Copy link
Member

rwinch commented Jul 23, 2019

Thanks for the PR @karelmaxa! This is now merged into master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core An issue in spring-security-core status: waiting-for-triage An issue we've not yet triaged type: bug A general bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Infinite loop in role hierarchy resolving
4 participants