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

Index out of bounds exception if a negative overlay origin is used #1559

Closed
amoerie opened this issue May 11, 2023 · 0 comments · Fixed by #1560
Closed

Index out of bounds exception if a negative overlay origin is used #1559

amoerie opened this issue May 11, 2023 · 0 comments · Fixed by #1560
Labels

Comments

@amoerie
Copy link
Collaborator

amoerie commented May 11, 2023

Describe the bug
When a DICOM file contains overlay data with a negative origin, rendering crashes with an index out of bounds exception

To Reproduce
See unit test.

Expected behavior
Only pixel values that are inside the bounds of the images should be written.

Screenshots or test DICOM files
See unit test

Environment
Fellow Oak DICOM version: latest development
OS: Any
Platform: Any

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant