Opened 8 years ago

Closed 6 years 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 by jng, 6 years ago


Ticket retargeted after milestone closed

comment:2 by jng, 6 years ago

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