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

GetLegendGraphic with Y OFFSET -99 crash mapserver #4790

Merged
merged 1 commit into from Oct 13, 2013
Merged

GetLegendGraphic with Y OFFSET -99 crash mapserver #4790

merged 1 commit into from Oct 13, 2013

Conversation

tbonfort
Copy link
Member

@tbonfort tbonfort commented Oct 13, 2013

Mapserver 6.4.0 compiled under Debian 7.

If you request a legend with a WMS GetLegendGraphic request for a layer with OFFSET 1 -99 in its STYLE section, mapserv will crash with this error in the kern.log:

mapserv[3440]: segfault at 40 ip 00007feb2f0f33db sp 00007fffa294cf00 error 4 in libstdc++.so.6.0.17[7feb2f091000+e8000]

Mapserv will not crash for a normal WMS GetMap request and it renders fine.

The x offset value can be anything positive.
A positive y offset value does not crash mapserv.

I can provide a sample mapfile under request.

@tbonfort tbonfort merged commit c217944 into MapServer:branch-6-4 Oct 13, 2013
@tbonfort
Copy link
Member

tbonfort commented Oct 13, 2013

fixed, thanks for the bug report !

@ghost ghost assigned tbonfort Oct 13, 2013
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

1 participant