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)

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

Download all attachments as: .zip

Change History (3)

comment:1 by russellmcormond, 14 years ago

Cc: russellmcormond added

by pramsey, 14 years ago

Attachment: 3395-1.patch added

Simple extra error reporting

comment:2 by russellmcormond, 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.