Skip to content

Add sector_chain_validator for T/S chain cycle protection - #7

Merged
vschwaberow merged 1 commit into
pebmeister:masterfrom
vschwaberow:fix/ts-chain-cycle-protection
Aug 15, 2026
Merged

Add sector_chain_validator for T/S chain cycle protection#7
vschwaberow merged 1 commit into
pebmeister:masterfrom
vschwaberow:fix/ts-chain-cycle-protection

Conversation

@vschwaberow

Copy link
Copy Markdown
Collaborator

Implements zero-allocation sector_chain_validator using std::bitset to guard all Track/Sector chain loops (readFile, findFile, directory, compactDirectory, verifyBAMIntegrity, parseSideSectors) against cycles and out-of-bounds corruption. Added unit test.

@vschwaberow
vschwaberowforce-pushed the fix/ts-chain-cycle-protection branch from 8e0c0f7 to cbcc4c5CompareAugust 14, 2026 15:40
@vschwaberow
vschwaberow merged commit 7c8b200 into pebmeister:masterAug 15, 2026
3 checks passed
@vschwaberow
vschwaberow deleted the fix/ts-chain-cycle-protection branch August 15, 2026 03:21
Sign up for freeto 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

@vschwaberow