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

feat: fix potential null pointer issue in loadPolicyLine() #439

Merged
merged 1 commit into from
Nov 8, 2024

Conversation

sukidayou
Copy link
Contributor

@sukidayou sukidayou commented Nov 5, 2024

To fix the issue of NPE caused by non printing characters, users need to ensure the correctness of the policy file format. Although non printing characters may not cause errors, they may differ from users' expectations. Policy files allow spaces to appear.
Fix: #437

@hsluoyz hsluoyz changed the title fix: fix potential null pointer issue feat: fix potential null pointer issue in loadPolicyLine() Nov 8, 2024
@hsluoyz hsluoyz merged commit 7e28e62 into casbin:master Nov 8, 2024
4 checks passed
Copy link

github-actions bot commented Nov 8, 2024

🎉 This PR is included in version 1.73.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Potential NPE in Helper.class:25
2 participants