[Cppcms-users] Boost Locale: Undefined behavior in POSIX backend
Brought to you by:
artyom-beilis
From: Kevin A. <kev...@ne...> - 2010-09-16 19:37:38
|
There is an issue in the POSIX backend that causes a crash on Mac OS X, and undefined behavior elsewhere. In file libs/locale/src/posix/codecvt.cpp: The declaration of iconv_t d at line 41 shadows the declaration of d at line 38. This causes undefined behavior at line 85 in the call to iconv_close. On Mac OS X this causes a crash, though I would expect there to be at least a memory leak on every platform. |