GetLegendGraphic with Y OFFSET -99 crash mapserver #4790

merged 1 commit into from Oct 13, 2013


None yet

2 participants

barotto commented Oct 12, 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[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

1 check passed

default The Travis CI build passed

fixed, thanks for the bug report !

@tbonfort tbonfort was assigned Oct 13, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment