summary refs log tree commit diff
path: root/configure.ac
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2019-03-03 21:57:50 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2019-03-28 21:18:03 +0800
commit02a00569ba60e502f876c36d894ba0cc2d0682b3 (patch)
tree3a47da47723a0872aee38196a4b1039c78bdd25f /configure.ac
parentexpand: Fix double-decrement in argstr (diff)
downloaddash-02a00569ba60e502f876c36d894ba0cc2d0682b3.tar.gz
dash-02a00569ba60e502f876c36d894ba0cc2d0682b3.zip
eval: Reset handler when entering a subshell
As it is a subshell can execute code that is only meant for the
parent shell when it executes a longjmp that is caught by something
like evalcommand.  This patch fixes it by resetting the handler
when entering a subshell.

Reported-by: Martijn Dekker <martijn@inlv.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions