Skip to content

Conversation

@Galoretka
Copy link
Contributor

Fix Memory::add_validation_rule to assign in place instead of inserting, preventing Vec index shifting that misaligns validation rules with segment indices; add a unit test to verify that adding rules out of order does not shift existing entries and that validate_existing_memory applies rules to the correct segments.

…index alignment

Fix Memory::add_validation_rule to assign in place instead of inserting, preventing Vec index shifting that misaligns validation rules with segment indices; add a unit test to verify that adding rules out of order does not shift existing entries and that validate_existing_memory applies rules to the correct segments.
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.

1 participant