Skip to content

Avoid negative integer overflow when iccOffset > chunkLength#795

Merged
piponazo merged 1 commit into
Exiv2:0.27-maintenancefrom
kevinbackhouse:bugfix_790_PngImage_readMetadata
May 5, 2019
Merged

Avoid negative integer overflow when iccOffset > chunkLength#795
piponazo merged 1 commit into
Exiv2:0.27-maintenancefrom
kevinbackhouse:bugfix_790_PngImage_readMetadata

Conversation

@kevinbackhouse

Copy link
Copy Markdown
Collaborator

Fixes #790.

@kevinbackhouse kevinbackhouse changed the title Avoid negative integer overflow when (iccOffset > chunkLength Avoid negative integer overflow when iccOffset > chunkLength Apr 25, 2019
@codecov

codecov Bot commented Apr 25, 2019

Copy link
Copy Markdown

Codecov Report

Merging #795 into 0.27-maintenance will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@                 Coverage Diff                  @@
##           0.27-maintenance     #795      +/-   ##
====================================================
+ Coverage             62.67%   62.67%   +<.01%     
====================================================
  Files                   156      156              
  Lines                 21523    21524       +1     
====================================================
+ Hits                  13490    13491       +1     
  Misses                 8033     8033
Impacted Files Coverage Δ
src/pngimage.cpp 80.75% <100%> (+0.05%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c79af9f...709830d. Read the comment docs.

@D4N D4N added the to-master label Apr 25, 2019
D4N
D4N previously requested changes Apr 25, 2019

@D4N D4N left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks good, I've added some minor suggestions and one info that needn't be addressed now.

Comment thread tests/bugfixes/github/test_issue_790.py Outdated
Comment thread tests/bugfixes/github/test_issue_790.py Outdated
Comment thread src/pngimage.cpp Outdated
Comment thread tests/bugfixes/github/test_issue_790.py Outdated
@kevinbackhouse
kevinbackhouse force-pushed the bugfix_790_PngImage_readMetadata branch 2 times, most recently from 6710899 to cffac6e Compare April 25, 2019 20:32
@clanmills clanmills added this to the v0.27.2 milestone Apr 30, 2019
@kevinbackhouse
kevinbackhouse force-pushed the bugfix_790_PngImage_readMetadata branch from b0b81ab to 709830d Compare May 2, 2019 09:18
@piponazo
piponazo self-requested a review May 5, 2019 05:18

@piponazo piponazo left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

@D4N the two changes you requested were addressed, so I guess you can approve now 😉

@piponazo
piponazo requested a review from D4N May 5, 2019 05:18
@D4N

D4N commented May 5, 2019

Copy link
Copy Markdown
Member

Lgtm, please merge this! (Cannot approve right now)

@piponazo
piponazo dismissed D4N’s stale review May 5, 2019 10:15

So I can merge without changing repo setup

@piponazo
piponazo merged commit 6fa2e31 into Exiv2:0.27-maintenance May 5, 2019
@kevinbackhouse
kevinbackhouse deleted the bugfix_790_PngImage_readMetadata branch September 18, 2021 12:50
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 this pull request may close these issues.

4 participants