|
From: | Martin Schulte |
Subject: | Re: Bash regexp parsing would benefit from safe recursion limit |
Date: | Wed, 30 Mar 2022 19:37:47 +0200 |
Hello Willi! > Fix: > Count the stack frames during recursive parsing and emit error before stack > resources are entirely consumed. What exactly should happen and what is the benefit of this solution? BTW: I tried trap 'echo "Ohohoh..."; exit 1;' SIGSEGV but the signal wasn't caught (which didn't really surprise me). Best regards Martin
[Prev in Thread] | Current Thread | [Next in Thread] |