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

Prevent buffer overflow with raster queries with 4 bands or more #5089

Merged
merged 1 commit into from
Apr 8, 2015

Conversation

dmorissette
Copy link
Contributor

With a raster query on a raster layer with 4 bands or more configured then we get a buffer overflow in msRASTERLayerGetItems().

This pull request fixes the issue.

@dmorissette dmorissette changed the title Prevent buffer overflow with raster queries with more than 4 bands Prevent buffer overflow with raster queries with 4 bands or more Apr 7, 2015
@dmorissette
Copy link
Contributor Author

@tbonfort: what is the correct way to merge this pull request into both branch-7-0 and master?

@tbonfort
Copy link
Member

tbonfort commented Apr 8, 2015

@dmorissette only apply it to branch-7-0, it will make its way into master by itself when branch-7-0 is merged into master.

dmorissette added a commit that referenced this pull request Apr 8, 2015
Prevent buffer overflow with raster queries with 4 bands or more
@dmorissette dmorissette merged commit de6a8d4 into MapServer:branch-7-0 Apr 8, 2015
@dmorissette
Copy link
Contributor Author

Thank you @tbonfort. I have merged the pull request in branch-7-0.

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.

None yet

2 participants