]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR libstdc++/25421 (catching exception from codecvt_byname() segfaults)
authorPaolo Carlini <pcarlini@suse.de>
Thu, 15 Dec 2005 10:11:03 +0000 (10:11 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Thu, 15 Dec 2005 10:11:03 +0000 (10:11 +0000)
commitcd6dba21ac4803bde1b149365d543dd81500ded5
treea8e928e2bb1d296c80995e2b265c5b9ca0154da2
parentb1257407e99e36e78b1b374030d0dffb4832325a
re PR libstdc++/25421 (catching exception from codecvt_byname() segfaults)

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.

From-SVN: r108565
libstdc++-v3/ChangeLog
libstdc++-v3/config/locale/gnu/c_locale.cc
libstdc++-v3/testsuite/22_locale/facet/25421.cc [new file with mode: 0644]