Skip to content

Topo's audit fixes#98

Merged
spengrah merged 1 commit intomitigation/trust-auditfrom
topo-mitigation
Feb 21, 2023
Merged

Topo's audit fixes#98
spengrah merged 1 commit intomitigation/trust-auditfrom
topo-mitigation

Conversation

@topocount
Copy link
Copy Markdown
Contributor

  • Fix: M-3 tree depth overflow

Rather than adding any checks, it's just cheaper to accomodate more depth. This is relatively arbitrary imo. I chose uint8 because I had a hard time imagining any org reaching that size on V1, but breaking for such a silly reason, is poor form, unless we add explicit contraints for nested tree depth.

Rather than adding any checks, it's just cheaper to accomodate more
depth. This is relatively arbitrary imo. I chose uint8 because I had a
hard time imagining any org reaching that size on V1, but breaking for
such a silly reason, is poor form, unless we add explicit contraints for
nested tree depth.
@spengrah spengrah merged commit 06397be into mitigation/trust-audit Feb 21, 2023
@spengrah
Copy link
Copy Markdown
Member

Agreed, this is the right approach imo. Cleaner, less opinionated, and cheaper. lgtm

@spengrah spengrah deleted the topo-mitigation branch February 23, 2023 18:48
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

Successfully merging this pull request may close these issues.

2 participants