Skip to content

Fixes zero width or height image reading#764

Merged
flippmoke merged 8 commits intomasterfrom
image_fix
Jun 13, 2017
Merged

Fixes zero width or height image reading#764
flippmoke merged 8 commits intomasterfrom
image_fix

Conversation

@flippmoke
Copy link
Copy Markdown
Member

Updated for a bug associated with mapnik-vector-tile. Initial commit points to a branch on mapnik-vector-tile, eventually will point to released version.

/cc @springmeyer for review.

…ttempting to read an area of zero width or height from an image in a vector tile resulting in an exception. Added a new test case to cover this case
@codecov-io
Copy link
Copy Markdown

codecov-io commented May 2, 2017

Codecov Report

Merging #764 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #764   +/-   ##
=======================================
  Coverage   96.23%   96.23%           
=======================================
  Files          42       42           
  Lines        8810     8810           
=======================================
  Hits         8478     8478           
  Misses        332      332

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 c335992...c232757. Read the comment docs.

Comment thread CHANGELOG.md Outdated
Updated for a fix associated with mapnik-vector-tile where images could be requested that would have a width or height of zero resulting
in exceptions.

- Updated to mapnik-vector-tile@1.3.0
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.

Did you mean 1.3.1?

@springmeyer springmeyer added this to the v3.6.1 milestone May 25, 2017
@springmeyer
Copy link
Copy Markdown
Member

@flippmoke - I presume the next step here is to revisit this after the changes to mapnik core? mapnik/mapnik#3672

@flippmoke
Copy link
Copy Markdown
Member Author

@springmeyer yes, the changes here will be tweaked slightly once we have an official mapnik core release.

@flippmoke
Copy link
Copy Markdown
Member Author

Waiting on binaries to be built for Mapnik core on windows and then hopefully we are good to merge this and start release process.

@flippmoke flippmoke merged commit d8129f8 into master Jun 13, 2017
@springmeyer springmeyer deleted the image_fix branch September 10, 2017 14:19
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.

4 participants