Skip to content

Conversation

@molpopgen
Copy link
Member

This PR fixes a safety issue:

  • internal fns to generate slices from tables cannot possibly validate the "length" inputs
  • thus, these fns should be marked unsafe.
  • this PR does that and refactors internal types to build the arrays, thus providing a safe API for the primary public types to use

@molpopgen molpopgen merged commit ead316c into main Feb 24, 2025
11 checks passed
@molpopgen molpopgen deleted the improve_safety branch February 24, 2025 20:01
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