aboutsummaryrefslogtreecommitdiff
path: root/miscutils
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2017-07-29 22:51:52 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2017-07-29 22:51:52 +0200
commit1c79aeb6a8cae4cd4013926b97f39305b689d74c (patch)
treee23825c6a84c1c95c2285fc54e5cce4f129660f7 /miscutils
parent469998015f57a552718420a4050d90e5dae6a6fd (diff)
downloadbusybox-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 'miscutils')
0 files changed, 0 insertions, 0 deletions