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

Always copy the JPEG segment size #2989

Merged
merged 1 commit into from
Jun 18, 2024
Merged

Always copy the JPEG segment size #2989

merged 1 commit into from
Jun 18, 2024

Conversation

kmilos
Copy link
Collaborator

@kmilos kmilos commented Jun 17, 2024

Addresses #2988

Edit: Need to check what was the side effect on the test suite...

@kmilos kmilos added bug imageHandler Anything related to specific ImageHandlers labels Jun 17, 2024
Comment on lines -457 to +459
out << "| " << Internal::binaryToString(makeSlice(buf, start, end));
out << "| ";
if (start < end)
out << Internal::binaryToString(makeSlice(buf, start, end));
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Any better ideas how to return an empty slice/string here w/o throwing an exception are welcome...

@kmilos kmilos merged commit 2469369 into main Jun 18, 2024
61 of 63 checks passed
@mergify mergify bot deleted the kmilos/fix_2988 branch June 18, 2024 17:53
@kmilos
Copy link
Collaborator Author

kmilos commented Jun 18, 2024

@mergify backport 0.28.x

Copy link
Contributor

mergify bot commented Jun 18, 2024

backport 0.28.x

✅ Backports have been created

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug imageHandler Anything related to specific ImageHandlers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants