Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Make sure there is a single manifest store in the asset #114

Merged
merged 4 commits into from
Aug 24, 2022

Conversation

mauricefisher64
Copy link
Collaborator

@mauricefisher64 mauricefisher64 commented Aug 19, 2022

Changes in this pull request

Make sure there is only one manifest store in the asset when we read it.
Fix buffer read error on bad data.

Checklist

  • This PR represents a single feature, fix, or change.
  • All applicable changes have been documented.
  • Any TO DO items (or similar) have been entered as GitHub issues and the link to that issue has been included in a comment.

@codecov-commenter
Copy link

codecov-commenter commented Aug 22, 2022

Codecov Report

Merging #114 (9bbb2b7) into main (60112c2) will decrease coverage by 0.83%.
The diff coverage is 68.00%.

@@            Coverage Diff             @@
##             main     #114      +/-   ##
==========================================
- Coverage   77.10%   76.27%   -0.84%     
==========================================
  Files          66       66              
  Lines       14131    14325     +194     
==========================================
+ Hits        10896    10926      +30     
- Misses       3235     3399     +164     
Impacted Files Coverage Δ
sdk/src/error.rs 8.33% <ø> (-5.96%) ⬇️
sdk/src/asset_handlers/bmff_io.rs 72.35% <66.25%> (-6.83%) ⬇️
sdk/src/asset_handlers/png_io.rs 81.25% <70.00%> (-13.32%) ⬇️
sdk/src/asset_handlers/jpeg_io.rs 76.73% <80.00%> (-12.44%) ⬇️
sdk/src/manifest_store_report.rs 84.21% <0.00%> (-0.76%) ⬇️

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

@mauricefisher64 mauricefisher64 merged commit 68d0100 into main Aug 24, 2022
@mauricefisher64 mauricefisher64 deleted the bmff_v2 branch August 24, 2022 14:51
mauricefisher64 added a commit that referenced this pull request Sep 30, 2022
…ff_support

* 'main' of https://github.com/contentauth/c2pa-rs: (78 commits)
  Add Exif Assertion support (#140)
  (IGNORE) Disregard grep non-zero exit status (#139)
  Prepare 0.14.0 release
  (IGNORE) Fix GH Actions logic error that is causing CI failure now (#137)
  (MINOR) Remove previously embedded manifests for remote manifests (#136)
  (MINOR) Add support for manifest removal (#123)
  Prepare 0.13.2 release
  manifest_data was missing for remote manifests (#135)
  (IGNORE) Restore cargo-semver-checks step (#129)
  Prepare 0.13.1 release
  Add ManifestStore::from_manifest_and_asset_bytes_async (#130)
  (IGNORE) Disable cargo-semver-checks step (#126)
  (IGNORE) Enforce semantic versioning requirements during PR validation and publish workflows (#124)
  Prepare 0.13.0 release
  Add RemoteManifestUrl Error, returning url (#120)
  Convert status_log error val to a string so that we can return full errors (#121)
  Report failures from remote manifest fetch (#116)
  Fast XMP extraction from PNG (#117)
  Bump MSRV to 1.59.0 (#118)
  Make sure there is  a single manifest store in the asset (#114)
  ...

# Conflicts:
#	sdk/src/error.rs
#	sdk/src/jumbf_io.rs
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants