Opened 3 years ago

Closed 20 months ago

#2750 closed defect (fixed)

Isapi mapagent crashes when server error message is too long

Reported by: zhanga Owned by:
Priority: low Milestone: 3.1.1
Component: Map Agent Version: 2.5.0
Severity: major Keywords:
Cc: 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.
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().

Change History (2)

comment:1 Changed 21 months ago by jng


Ticket retargeted after milestone closed

comment:2 Changed 20 months ago by jng

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.