Re: [Cppcms-users] Boost Locale: Undefined behavior in POSIX backend
Brought to you by:
artyom-beilis
From: Artyom <art...@ya...> - 2010-09-16 19:55:03
|
Thank you very much! I've got reports of faults on Mac OS X however I hadn't this platform to debug. My brother usually helps me with Mac platform, but now he is busy. Thank you for this good point. I commit the changes to both CppCMS and Boost.Locale svn (https://cppcms.svn.sourceforge.net/svnroot/cppcms/boost_locale/branches/rework) Would you be so kind to check if tests now pass and what fails? Thank you, Artyom ----- Original Message ---- > From: Kevin Arunski <kev...@ne...> > To: cpp...@li... > Sent: Thu, September 16, 2010 9:25:13 PM > Subject: [Cppcms-users] Boost Locale: Undefined behavior in POSIX backend > > 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. > > > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > |