diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2016-10-30 18:27:14 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2016-10-30 18:27:14 +0100 |
commit | 493b9cae808093ff5d89b5fb794e3991859e7df6 (patch) | |
tree | 05b59197059c377c39dbacef3cc7238843e080ca /libbb/safe_poll.c | |
parent | 9db74e49e5b462089c6eec0182d819c0d4708e57 (diff) | |
download | busybox-493b9cae808093ff5d89b5fb794e3991859e7df6.tar.gz |
ash: make popfile() anfter popallfiles() safe
In this example:
ash -c 'readonly x; echo $(command eval x=2)'
evalstring() is called after forkchild(), which calls popallfiles().
On exception, evalstring() will popfile().
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb/safe_poll.c')
0 files changed, 0 insertions, 0 deletions