critical impact:
iconv, iconv_open, iconv_close - compatible APIs; different implementation (CrCh237)
Problem description
The iconv, iconv_open, and iconv_close functions are provided in libiconv on Tru64 UNIX; they are in libc on HP-UX. There are also some Tru64 specific codeset converter features.
The iconv, iconv_open, and iconv_close functions convert a string of characters from one codeset to another.
The following codeset converter features are available on Tru64 only:
Identifiers
 -liconv |
 iconv_close |
 ICONV_PHRCONV |
 iconv |
 ICONV_DEFSTR |
 libiconv.a |
 ICONV_ACTION |
 ICONV_NOBOM |
 libiconv.so |
 ICONV_BYTEORDER |
 iconv_open |
|
See also
Solution description
The iconv, iconv_open, and iconv_close functions are in libc on HP-UX.
Review the Makefiles to remove any libiconv reference.
Applications that use these functions might work properly depending on how the codeset converters are used. Review the applicable manpages and code to determine if unexpected behavior will result. See also
Problem summary
| classifications |
source types |
OS release |
severity |
type |
| I18N, LIB |
C, C++, Make, Script |
any HP-UX 11i version |
critical |
changed |
|