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

dcm4che(issue #159) #164 #3

Open
wants to merge 2 commits into
base: dcm4che-3.3.7.X
Choose a base branch
from

Conversation

mike-mcfarland
Copy link

Prevent read of tag beyond specified length.
Toolkit detect child tags with length > the containing item length and
stop trying to parse the sequence item.

Prevent read of tag beyond specified length.
Toolkit detect child tags with length > the containing item length and
stop trying to parse the sequence item.
Copy link
Collaborator

@nwengel nwengel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rwanigarathna

This doesn't look like the same fix that was made for dcm4che issue dcm4che#159. That fix will actually attempt to determine if the tags are encoded with explicit VR and then parse them. This looks like it will just skip the tags entirely.

Is there a reason the existing fix couldn't be cherry-picked? When I looked at it, it didn't seem like there would be many conflicts.

@jkleefman
Copy link
Collaborator

It looks like there are no changes to the readAttributes method - do we need the changes from issue#159 pulled into that method as well?

@nwengel
Copy link
Collaborator

nwengel commented Aug 21, 2020

It looks like there are no changes to the readAttributes method - do we need the changes from issue#159 pulled into that method as well?

Yeah, looks like that just removes the decodeUNWithIVRLE stuff which is no longer relevant.

@nwengel nwengel closed this Aug 21, 2020
@nwengel nwengel reopened this Aug 21, 2020
Sign up for free to 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.

4 participants