Opened 14 years ago
Last modified 14 years ago
#3395 new defect
iconv called but error reporting in failure is insufficient
Reported by: | pramsey | Owned by: | sdlime |
---|---|---|---|
Priority: | normal | Milestone: | 6.0 release |
Component: | MapServer C Library | Version: | unspecified |
Severity: | normal | Keywords: | |
Cc: | russellmcormond |
Description
In msGetEncodedString() in mapstring.c, iconv is called, but the error reporting is minimal. See #2988 for an example of handling better.
Attachments (1)
Change History (3)
comment:1 by , 14 years ago
Cc: | added |
---|
by , 14 years ago
Attachment: | 3395-1.patch added |
---|
comment:2 by , 14 years ago
When someone has time (maybe myself later) I will re-visit these. In some of these error conditions we did translate part of the string, and it may be useful to enhance to keep the part of the string that did translate. Currently if we encounter an error we send back a NULL.
Note:
See TracTickets
for help on using tickets.
Simple extra error reporting