This is the mail archive of the libstdc++-cvs@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

r123361 - in /trunk/libstdc++-v3: ChangeLog inc...


Author: paolo
Date: Fri Mar 30 18:10:50 2007
New Revision: 123361

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=123361
Log:
2007-03-30  Paolo Carlini  <pcarlini@suse.de>

	PR libstdc++/31401
	* include/bits/basic_string.tcc (find(const _CharT*, size_type,
	size_type)): Avoid unsigned overflow.
	* testsuite/21_strings/basic_string/find/char/4.cc: New.
	* testsuite/21_strings/basic_string/find/wchar_t/4.cc: Likewise.

Added:
    trunk/libstdc++-v3/testsuite/21_strings/basic_string/find/char/4.cc
    trunk/libstdc++-v3/testsuite/21_strings/basic_string/find/wchar_t/4.cc
Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/bits/basic_string.tcc


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]