Skip to content

[parser] Turn illegal item header parse into recoverable error#548

Merged
Enet4 merged 1 commit intomasterfrom
bug/parser/547-item-header-out-sequence
Jul 28, 2024
Merged

[parser] Turn illegal item header parse into recoverable error#548
Enet4 merged 1 commit intomasterfrom
bug/parser/547-item-header-out-sequence

Conversation

@Enet4
Copy link
Copy Markdown
Owner

@Enet4 Enet4 commented Jul 28, 2024

Fixes panic caused by an item start after an extraneous item end. Resolves #547.

- fixes panic caused by an item start after an extraneous item end
- add test case covering this particular scenario
@Enet4 Enet4 added bug This is a bug A-lib Area: library C-parser Crate: dicom-parser labels Jul 28, 2024
@Enet4 Enet4 merged commit af18fbe into master Jul 28, 2024
@Enet4 Enet4 deleted the bug/parser/547-item-header-out-sequence branch July 28, 2024 11:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-lib Area: library bug This is a bug C-parser Crate: dicom-parser

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Panic - item header should be read only inside an existing sequence

1 participant