Opened 19 years ago
Last modified 16 years ago
#1198 closed defect
msSetError overflows error message buffer — at Version 2
Reported by: | Owned by: | sdlime | |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | MapServer C Library | Version: | 4.4 |
Severity: | major | Keywords: | |
Cc: | sgillies@… |
Description (last modified by )
msSetError can overflow the error message buffer if the resulting error message is longer than MESSAGELENGTH. There is no way that I know of to prevent this in ANSI C but ISO C99 provides vsnprintf, which is what I used in the submitted patch.
Change History (3)
by , 19 years ago
Attachment: | maperror.c.patch added |
---|
comment:1 by , 19 years ago
Cc: | added |
---|
Note:
See TracTickets
for help on using tickets.
maperror.c patch