diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2017-07-29 22:51:52 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2017-07-29 22:51:52 +0200 |
commit | 1c79aeb6a8cae4cd4013926b97f39305b689d74c (patch) | |
tree | e23825c6a84c1c95c2285fc54e5cce4f129660f7 /editors | |
parent | 469998015f57a552718420a4050d90e5dae6a6fd (diff) | |
download | busybox-1c79aeb6a8cae4cd4013926b97f39305b689d74c.tar.gz |
ash: [REDIR] Fix popredir on abnormal exit from built-in
Upstream commit:
Date: Thu, 27 May 2010 15:03:46 +0800
[REDIR] Fix popredir on abnormal exit from built-in
Just like the poplocalvar problem recently fixed, redirections
can also be leaked in case of an abnormal exit. This patch fixes
it using the same method as poplocalvar, by storing the previous
redirection state and restoring to that point.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'editors')
0 files changed, 0 insertions, 0 deletions