Skip to content

makernotes: workaround for Olympus header corruption - #2567

Merged
neheb merged 1 commit into
mainfrom
workaround_2542
Mar 30, 2023
Merged

makernotes: workaround for Olympus header corruption#2567
neheb merged 1 commit into
mainfrom
workaround_2542

Conversation

@kmilos

@kmilos kmilos commented Mar 29, 2023

Copy link
Copy Markdown
Collaborator

Addresses #2542 as a workaround rather than a proper solution.

Should be able to parse the data back, but still leaves a "corrupted" file that other apps might have trouble with...

@tenzap I think this should also apply to 0.27 branch (w/ maybe some minimal tweaks), so please feel free to test.

@ghost

ghost commented Mar 29, 2023

Copy link
Copy Markdown
👇 Click on the image for a new way to code review

Review these changes using an interactive CodeSee Map

Legend

CodeSee Map legend

@codecov

codecov Bot commented Mar 29, 2023

Copy link
Copy Markdown

Codecov Report

Merging #2567 (0f31c85) into main (0fa22ed) will decrease coverage by 0.02%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main    #2567      +/-   ##
==========================================
- Coverage   63.90%   63.89%   -0.02%     
==========================================
  Files         103      103              
  Lines       22393    22397       +4     
  Branches    10824    10826       +2     
==========================================
  Hits        14310    14310              
- Misses       5864     5867       +3     
- Partials     2219     2220       +1     
Impacted Files Coverage Δ
src/makernote_int.cpp 65.85% <0.00%> (-0.50%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@kmilos kmilos added the makerNote Anything related to one of the various supported MakerNote formats label Mar 29, 2023
Comment thread src/makernote_int.cpp
@neheb
neheb merged commit 0dd0689 into main Mar 30, 2023
@neheb
neheb deleted the workaround_2542 branch March 30, 2023 19:09
@kmilos

kmilos commented Mar 31, 2023

Copy link
Copy Markdown
Collaborator Author

Is there an appetite to backport for a 0.27.7 hotfix (w/ maybe a few more select cherry-picks)? @nehaljwani @kevinbackhouse @piponazo @postscript-dev @hassec

@kevinbackhouse

Copy link
Copy Markdown
Collaborator

Is there an appetite to backport for a 0.27.7 hotfix (w/ maybe a few more select cherry-picks)? @nehaljwani @kevinbackhouse @piponazo @postscript-dev @hassec

Yes, that makes sense. My understanding from quickly reading #2542 is that this was a regression from 0.27.5 to 0.27.6.

@kmilos

kmilos commented Apr 1, 2023

Copy link
Copy Markdown
Collaborator Author

Not a regression per se, as the feature responsible for the bug wasn't there in 0.27.5 at all.

@nehaljwani

Copy link
Copy Markdown
Collaborator

Feel free to open a pull request for the 0.27-maintenance branch and I'll cut a release after it is merged.

@kmilos

kmilos commented Apr 4, 2023

Copy link
Copy Markdown
Collaborator Author

Great, can you please create a 0.27.7 milestone then as well?

Any other changes we might want to backport? @kevinbackhouse @piponazo @postscript-dev @hassec

@kevinbackhouse kevinbackhouse linked an issue Apr 7, 2023 that may be closed by this pull request
kmilos added a commit that referenced this pull request Apr 17, 2023
makernotes: workaround for Olympus header corruption (backport #2567)
kmilos added a commit that referenced this pull request Apr 17, 2023
@nehaljwani

Copy link
Copy Markdown
Collaborator

@kmilos Is now a good time to cut a release with the backports?

@kmilos

kmilos commented May 12, 2023

Copy link
Copy Markdown
Collaborator Author

@nehaljwani Sure, thanks!

@nehaljwani

nehaljwani commented May 13, 2023

Copy link
Copy Markdown
Collaborator

Exiv2 v0.27.7 2023-05-14

Topic More Info
Remaining ( 0) https://github.com/Exiv2/exiv2/milestone/11
Completed (3) https://github.com/Exiv2/exiv2/milestone/11?closed=1

Exiv2 v0.27.7 Acknowledgements

According to git shortlog -s -n v0.27.6..v0.27.7

Commits Author
8 Miloš Komarčević
2 Peter Kovář
1 Nehal J Wani

Exiv2 v0.27.7 Release Notes

Group PR Topic Issue
Bugs & Fixes #2579 makernotes: workaround for Olympus header corruption #2542
#2578 Corrected JPEG XL file type
#2614 BMFF: fix handling of boxes w/ zero length or type darktable-org/darktable#14473
CI #2604 CI: Bump conan version

If I've failed to acknowledge anyone's contribution, I apologize. Please let me know and I'll update this comment.

ReillyBrogan added a commit to getsolus/packages that referenced this pull request Oct 8, 2023
Release notes:
- [0.27.7](Exiv2/exiv2#2567 (comment))
- [0.27.6](Exiv2/exiv2#2406 (comment))

Signed-off-by: Reilly Brogan <reilly@reillybrogan.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

makerNote Anything related to one of the various supported MakerNote formats

Projects

None yet

Development

Successfully merging this pull request may close these issues.

olympus makernotes get lost or corrupt with 0.27.6

4 participants