[Mapguide-trac] [mapguide-trac] #2750: Isapi mapagent crashes when server error message is too long
MapGuide Open Source
trac_mapguide at osgeo.org
Tue Oct 11 17:52:11 PDT 2016
#2750: Isapi mapagent crashes when server error message is too long
-------------------------+-------------------
Reporter: zhanga | Owner:
Type: defect | Status: new
Priority: low | Milestone: 3.1
Component: Map Agent | Version: 2.5.0
Severity: major | Keywords:
External ID: |
-------------------------+-------------------
If there is an exception when MapGuide server processes a request, the
exception will be sent back to web extension. Isapi response handler will
convert this exception to html format. [[BR]]
The crash happens when the error message is too long. We will get a
'security check fail or buffer overflow' error. We think it is related to
the unsafe API vsprintf(). It doesn't crash after changing the API to
vsprintf_s().
--
Ticket URL: <https://trac.osgeo.org/mapguide/ticket/2750>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals
More information about the mapguide-trac
mailing list