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

fix: Panic in slicing of empty XMP data #872

Merged
merged 2 commits into from
Feb 15, 2025

Conversation

kornelski
Copy link
Contributor

Incomplete XMP data made the SDK panic with

range start must not be greater than end: 29 <= 28

I've also made extract_xmp avoid copying, and use more idiomatic Rust.

@kornelski kornelski changed the title Fix panic in slicing of empty XMP data fix: panic in slicing of empty XMP data Jan 23, 2025
@gpeacock gpeacock changed the title fix: panic in slicing of empty XMP data fix: Panic in slicing of empty XMP data Feb 15, 2025
@gpeacock gpeacock merged commit f1b182b into contentauth:main Feb 15, 2025
16 of 17 checks passed
This was referenced Feb 15, 2025
@kornelski kornelski deleted the xmp-panic branch February 15, 2025 02:29
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.

2 participants