[Bug regex/24269] regexec: Infinite recursion in check_dst_limits_calc_pos_1

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[Bug regex/24269] regexec: Infinite recursion in check_dst_limits_calc_pos_1

glaubitz at physik dot fu-berlin.de
https://sourceware.org/bugzilla/show_bug.cgi?id=24269

--- Comment #2 from Dhiraj <mishra.dhiraj95 at gmail dot com> ---
grep -E "$(printf '(|)(\\1\\1)*')"

==10544== Stack overflow in thread #1: can't grow stack to 0x1ffe801000
==10544==
==10544== Process terminating with default action of signal 11 (SIGSEGV)
==10544==  Access not within mapped region at address 0x1FFE801FF8
==10544== Stack overflow in thread #1: can't grow stack to 0x1ffe801000
==10544==    at 0x539FC7C: check_dst_limits_calc_pos_1 (regexec.c:1882)
==10544==  If you believe this happened as a result of a stack
==10544==  overflow in your program's main thread (unlikely but
==10544==  possible), you can try to increase the size of the
==10544==  main thread stack using the --main-stacksize= flag.
==10544==  The main thread stack size used in this run was 8388608.
==10544== Stack overflow in thread #1: can't grow stack to 0x1ffe801000
==10544==
==10544== Process terminating with default action of signal 11 (SIGSEGV)
==10544==  Access not within mapped region at address 0x1FFE801FE8
==10544== Stack overflow in thread #1: can't grow stack to 0x1ffe801000
==10544==    at 0x4A2A650: _vgnU_freeres (vg_preloaded.c:59)
==10544==  If you believe this happened as a result of a stack
==10544==  overflow in your program's main thread (unlikely but
==10544==  possible), you can try to increase the size of the
==10544==  main thread stack using the --main-stacksize= flag.
==10544==  The main thread stack size used in this run was 8388608.

--
You are receiving this mail because:
You are on the CC list for the bug.