aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/ChangeLog
diff options
context:
space:
mode:
authorPaolo Carlini <pcarlini@suse.de>2005-04-26 09:31:07 +0000
committerPaolo Carlini <paolo@gcc.gnu.org>2005-04-26 09:31:07 +0000
commit44ecf603649098d1d89bd855155a215507bf9e86 (patch)
tree90e9886d6ee581f71733aa43b16029cbbf1fb27a /libstdc++-v3/ChangeLog
parentc579626684c724b226892b0869316fd1ed7ad350 (diff)
downloadgcc-44ecf603649098d1d89bd855155a215507bf9e86.zip
gcc-44ecf603649098d1d89bd855155a215507bf9e86.tar.gz
gcc-44ecf603649098d1d89bd855155a215507bf9e86.tar.bz2
re PR libstdc++/21209 (signed integer overflow in num_get<>::_M_extract_int)
2005-04-26 Paolo Carlini <pcarlini@suse.de> PR libstdc++/21209 * include/bits/locale_facets.tcc (_M_extract_int): Avoid signed integer overflow, always use a suited unsigned type in the main parsing loop. (struct __to_unsigned_type): New. * testsuite/22_locale/num_get/get/char/16.cc: New. * testsuite/22_locale/num_get/get/wchar_t/16.cc: Likewise. From-SVN: r98768
Diffstat (limited to 'libstdc++-v3/ChangeLog')
-rw-r--r--libstdc++-v3/ChangeLog10
1 files changed, 10 insertions, 0 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index e150ad7..87a5cc6 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,13 @@
+2005-04-26 Paolo Carlini <pcarlini@suse.de>
+
+ PR libstdc++/21209
+ * include/bits/locale_facets.tcc (_M_extract_int): Avoid signed
+ integer overflow, always use a suited unsigned type in the main
+ parsing loop.
+ (struct __to_unsigned_type): New.
+ * testsuite/22_locale/num_get/get/char/16.cc: New.
+ * testsuite/22_locale/num_get/get/wchar_t/16.cc: Likewise.
+
2005-04-25 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/21035