gcc/libstdc++-v3
Jonathan Wakely 1b09eea33f libstdc++: Check for overflow in regex back-reference [PR106607]
Currently we fail to notice integer overflow when parsing a
back-reference expression, or when converting the parsed result from
long to int. This changes the result to be int, so no conversion is
needed, and uses the overflow-checking built-ins to detect an
out-of-range back-reference.

libstdc++-v3/ChangeLog:

	PR libstdc++/106607
	* include/bits/regex_compiler.tcc (_Compiler::_M_cur_int_value):
	Use built-ins to check for integer overflow in back-reference
	number.
	* testsuite/28_regex/basic_regex/106607.cc: New test.
2022-08-22 22:52:24 +01:00
..
config libstdc++: Remove whitespace before preprocessor directives 2022-05-12 18:04:01 +01:00
doc libstdc++: Fix hyperlink in docs 2022-05-16 14:54:07 +01:00
include libstdc++: Check for overflow in regex back-reference [PR106607] 2022-08-22 22:52:24 +01:00
libsupc++ Fix bug in emergency cxa pool free 2022-08-17 10:40:01 +02:00
po libstdc++: Define <stacktrace> header for C++23 2022-01-17 12:13:02 +00:00
python Adjust index number of tuple pretty printer 2022-08-04 13:18:05 +02:00
scripts libstdc++: use grep -E instead of egrep in scripts 2022-06-24 20:31:31 +08:00
src libstdc++: [_GLIBCXX_DEBUG] Do not consider detached iterators as value-initialized 2022-08-08 20:11:59 +02:00
testsuite libstdc++: Check for overflow in regex back-reference [PR106607] 2022-08-22 22:52:24 +01:00
acinclude.m4 libstdc++: check for openat 2022-06-23 23:28:14 -03:00
aclocal.m4
ChangeLog Daily bump. 2022-08-18 00:16:43 +00:00
ChangeLog-1998
ChangeLog-1999
ChangeLog-2000
ChangeLog-2001
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
ChangeLog-2011
ChangeLog-2012
ChangeLog-2013
ChangeLog-2014
ChangeLog-2015
ChangeLog-2016
ChangeLog-2017
ChangeLog-2018
ChangeLog-2019
ChangeLog-2020 libstdc++: Fix typo in ChangeLog-2020 2021-01-13 11:02:13 +00:00
ChangeLog-2021 Rotate ChangeLog files - part 1 - add ChangeLog-2021. 2022-01-03 10:18:16 +01:00
config.h.in libstdc++: check for openat 2022-06-23 23:28:14 -03:00
configure RTEMS: Remove HAVE_POLL for libstdc++ 2022-07-19 14:10:26 +02:00
configure.ac RTEMS: Remove HAVE_POLL for libstdc++ 2022-07-19 14:10:26 +02:00
configure.host
crossconfig.m4 Enable some features for RTEMS in libstdc++ 2022-07-01 12:03:13 +02:00
fragment.am libstdc++: Add C++ runtime support for new 128-bit long double format 2020-12-16 23:25:01 +00:00
linkage.m4
Makefile.am Update copyright years. 2022-01-03 10:42:10 +01:00
Makefile.in libstdc++: Define <stacktrace> header for C++23 2022-01-17 12:13:02 +00:00
README

file: libstdc++-v3/README

New users may wish to point their web browsers to the file
index.html in the 'doc/html' subdirectory.  It contains brief
building instructions and notes on how to configure the library in
interesting ways.