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

WMS MINRESOLUTION can lead to overflow of raster dimensions #89

Closed
wants to merge 3 commits into from
Closed

WMS MINRESOLUTION can lead to overflow of raster dimensions #89

wants to merge 3 commits into from

Conversation

tastle
Copy link

@tastle tastle commented Jan 7, 2016

As discussed with @rouault on the mailing list, I found that when the WMS driver is provided with a fine resolution, a raster is attempted to be created that overflows GDALs 32-bit integer based dimensions.

This fix limits the generated resolution to a value that does not overflow the 32-bit integer value.

Tim Astle added 3 commits December 10, 2015 18:11
…r than the maximum size of an integer. Any value that exceeds the maximum size of an integer will raise an invalid dataset dimensions error.
@rouault
Copy link
Member

rouault commented Jan 7, 2016

Thanks. Committed in r32806

@rouault rouault closed this Jan 7, 2016
kwrobot pushed a commit to aashish24/gdal-svn that referenced this pull request Jan 7, 2016
…larger than the maximum size of an integer. Any value that exceeds the maximum size of an integer will raise an invalid dataset dimensions error. (patch by Tim Astle, OSGeo/gdal#89)

git-svn-id: https://svn.osgeo.org/gdal/trunk/gdal@32806 f0d54148-0727-0410-94bb-9a71ac55c965
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