Repository navigation
Fix increment logic for stream length in AsyncDicomReader - #597
Merged
Merged
Conversation
'length' property does not exist on Tag class, the typo results in a corruption of the stream offset (it becomes `NaN`) when either the tag group is 0 or the tag is `DataSetTrailingPadding`
✅ Deploy Preview for dcmjs2 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
wayfarer3130
approved these changes
Nov 12, 2026
wayfarer3130
added a commit
that referenced
this pull request
Nov 12, 2026
…DicomReader (#640) AsyncDicomReader skipped a (0000,xxxx) element or DataSetTrailingPadding with stream.increment(tagObj.length). Tag has no length property, so the stream offset became NaN and the read stopped silently, which dropped all tags after that element. Use the value length from the tag header. Port of #597 to 1.0-beta. Co-authored-by: Iman Toumi <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>
|
🎉 This PR is included in version 0.53.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This was referenced Nov 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
'length' property does not exist on Tag class, the typo results in a corruption of the stream offset (it becomes
NaN) when either the tag group is 0 or the tag isDataSetTrailingPadding