Ticket #644 (closed defect: fixed)

Opened 9 years ago

Last modified 9 years ago

[WMS] Crash in INIMAGE error handler

Reported by: dmorissette Owned by: mapserverbugs
Priority: high Milestone: 4.2 release
Component: WMS Server Version: 4.2
Severity: normal Keywords:
Cc:

Description

The following URL crashes MapServer 4.2.  Seems to happen in the INIMAGE error
code, while generating the image:

http://www2.dmsolutions.ca/cgi-bin/mapserv_42?QUERY_STRING=service=WMS&version=1.1.1&request=GetMap&SRS=EPSG:4326&BBOX=-179.989,-54.9474,179.99699,81.7934&width=220&height=220&layers=WorldPlaces&styles=default&format=image/gif&exceptions=application/vnd.ogc.se_inimage&map=/home/msapps/world_testdata/map/worldscaled_testdata.map

Change History

Changed 9 years ago by dmorissette

  • status changed from new to assigned
  • milestone set to 4.2 release
Looking into this one now.

Changed 9 years ago by dmorissette

  • status changed from assigned to closed
  • resolution set to fixed
Fixed in 4.2 branch and 4.3. There was a write past end of buffer in
msWriteErrorImage()

Changed 9 years ago by dmorissette

I found another write past end of buffer in msWriteErrorImage(). Fixed in both
branch-4-2 and 4.3
Note: See TracTickets for help on using tickets.