Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 2 commits into from
Oct 11, 2024

Conversation

Enet4
Copy link
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

- 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
4 checks passed
@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