Subject: [Boost-bugs] [Boost C++ Libraries] #11567: Boost crashes when boost::filesystem::path::imbue(std::locale(""));
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-08-21 10:47:25
#11567: Boost crashes when boost::filesystem::path::imbue(std::locale(""));
--------------------------+---------------------
Reporter: anonymous | Owner: artyom
Type: Bugs | Status: new
Milestone: Boost 1.58.0 | Component: locale
Version: Boost 1.57.0 | Severity: Problem
Keywords: |
--------------------------+---------------------
This code crashes:
{{{
boost::filesystem::path::imbue(std::locale(""));
boost::filesystem::path p (L"пÑивеÑ");
}}}
in:
{{{
void dispatch(const std::wstring& c, U& to, const codecvt_type& cvt)
{
if (c.size())
convert(&*c.begin(), &*c.begin() + c.size(), to, cvt); // SIGABRT
cvt is invalid
}
}}}
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/11567> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:18 UTC