This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/25421] [4.0/4.1/4.2 Regression] catching exception from codecvt_byname() segfaults
- From: "paolo at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Dec 2005 10:23:10 -0000
- Subject: [Bug libstdc++/25421] [4.0/4.1/4.2 Regression] catching exception from codecvt_byname() segfaults
- References: <bug-25421-5724@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from paolo at gcc dot gnu dot org 2005-12-15 10:23 -------
Subject: Bug 25421
Author: paolo
Date: Thu Dec 15 10:22:53 2005
New Revision: 108567
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=108567
Log:
2005-12-15 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/25421
* config/locale/gnu/c_locale.cc (_S_destroy_c_locale): Check
for null argument.
* testsuite/22_locale/facet/25421.cc: New.
Added:
branches/gcc-4_0-branch/libstdc++-v3/testsuite/22_locale/facet/25421.cc
Modified:
branches/gcc-4_0-branch/libstdc++-v3/ChangeLog
branches/gcc-4_0-branch/libstdc++-v3/config/locale/gnu/c_locale.cc
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25421