Ticket #3395 (new defect)

Opened 3 years ago

Last modified 3 years ago

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

3395-1.patch Download (1.7 KB) - added by pramsey 3 years ago.
Simple extra error reporting

Change History

Changed 3 years ago by russellmcormond

  • cc russellmcormond added

Changed 3 years ago by pramsey

Simple extra error reporting

Changed 3 years ago by russellmcormond

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.