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

Fail closed by default on deep recursion when canonizing bnode labels #46

Open
dlongley opened this issue Aug 23, 2022 · 0 comments
Open

Comments

@dlongley
Copy link
Member

If deep recursion occurs when determining the canonical labels for blank nodes, we should bail out by default instead of continuing until all blank nodes receive their canonical labels. Since the recursion can be a slower than normal process and is extremely non-typical in useful data, we should require the developer to pass a flag to allow the algorithm to execute in these cases. This creates a stronger security-minded posture, enabling the library to "fail closed" by default when encountering such data.

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

No branches or pull requests

1 participant