Bug#966156: dash -n: stack overflow on long sequence of backticks

2023-01-08 Thread наб
Control: tags -1 + fixed-upstream Fixed this series (v3 in forwarded-to thread): https://git.kernel.org/pub/scm/utils/dash/dash.git/commit/?id=d89761b0e1652e212e9354fd3c96f977de873a06 https://git.kernel.org/pub/scm/utils/dash/dash.git/commit/?id=f96ec8765cf37eb0c222a563de2f767ebfbf56db наб

Bug#966156: dash -n: stack overflow on long sequence of backticks

2022-12-14 Thread наб
Control: tags -1 + upstream patch Control: forwarded -1 https://lore.kernel.org/dash/20221214233921.m6hpt5a6kb3wg...@tarta.nabijaczleweli.xyz/t/ Valgrind is right. I don't think you're likely to run into this on non-pathological input, but it's a relatively simple fix. Patch posted to dash@, arc

Bug#966156: dash -n: stack overflow on long sequence of backticks

2020-07-23 Thread Jakub Wilk
Package: dash Version: 0.5.10.2-7 dash crashes when checking syntax of a script consisting of a very long sequence of backticks: $ printf %0d | tr 0 '`' | dash -n Segmentation fault Valgrind says it's a stack overflow: Process terminating with default action of signal 11 (SIGSEGV)