Skip to content

[parser] Add configurable strategy for handling odd length data elements#567

Merged
Enet4 merged 2 commits intomasterfrom
imp/parser/odd-length-options
Oct 11, 2024
Merged

[parser] Add configurable strategy for handling odd length data elements#567
Enet4 merged 2 commits intomasterfrom
imp/parser/odd-length-options

Conversation

@Enet4
Copy link
Copy Markdown
Owner

@Enet4 Enet4 commented Oct 5, 2024

Summary

  • Add OddLengthStrategy as a data set reader option
  • Add DataSetReader::new_with_ts_options shortcut function
  • [object] extend option to file reading options

Enet4 added 2 commits October 5, 2024 19:47
- Add OddLengthStrategy as a data set reader option
- Add DataSetReader::new_with_ts_options shortcut function
- [object] extend option to file reading
- remove group length elements before writing
- assume that writing back should not fail
- tweak target to keep corpus when the fuzz does not fail
@Enet4 Enet4 added enhancement A-lib Area: library C-parser Crate: dicom-parser C-object Crate: dicom-object labels Oct 5, 2024
@Enet4 Enet4 merged commit 6eee09a into master Oct 11, 2024
@Enet4 Enet4 deleted the imp/parser/odd-length-options branch October 11, 2024 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-lib Area: library C-object Crate: dicom-object C-parser Crate: dicom-parser enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant