diff options
| author | Denys Vlasenko <vda.linux@googlemail.com> | 2025-08-09 17:52:09 +0200 |
|---|---|---|
| committer | Denys Vlasenko <vda.linux@googlemail.com> | 2025-08-09 17:52:09 +0200 |
| commit | 81274d8b3085d59bf5c01a35c17bac3d6952b53d (patch) | |
| tree | 908a0ee3c9006f779c522b4c661b5c6ac43858ad /scripts | |
| parent | 4ce8afe6b2a989a0360c09a81c6bf9d43d6ba24a (diff) | |
| download | busybox-w32-81274d8b3085d59bf5c01a35c17bac3d6952b53d.tar.gz busybox-w32-81274d8b3085d59bf5c01a35c17bac3d6952b53d.tar.bz2 busybox-w32-81274d8b3085d59bf5c01a35c17bac3d6952b53d.zip | |
ash: eval: Reset handler when entering a subshell
Upstream commit:
Date: Sun, 3 Mar 2019 21:57:50 +0800
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.
function old new delta
evalsubshell 169 183 +14
evalpipe 342 356 +14
argstr 1406 1416 +10
ash_main 1236 1226 -10
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 4/1 up/down: 65/-10) Total: 28 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
