Opened 4 years ago
Closed 3 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: |
Description
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 3 years ago by
Milestone: | 3.1 → 3.1.1 |
---|
comment:2 Changed 3 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Ticket retargeted after milestone closed