diff options
author | Jacek Bukarewicz <j.bukarewicz@samsung.com> | 2013-09-05 04:58:06 -0500 |
---|---|---|
committer | Jacek Bukarewicz <j.bukarewicz@samsung.com> | 2013-09-05 04:58:06 -0500 |
commit | ba84528d41d39adb0b26fdac0fafacc0614af7d4 (patch) | |
tree | 503f390bea36b64465f0d0cfdb9b7ed6ccdb40ea /toys/posix/ls.c | |
parent | 314dc6881f0439478f483d26726c52c1c3f536ff (diff) | |
download | toybox-ba84528d41d39adb0b26fdac0fafacc0614af7d4.tar.gz |
env - there were 2 segfaults when run on my Ubuntu 12.04 machine:
- one is because eglibc sets environ to NULL on clearenv(). I added check for environ being not NULL when iterating over environment variables
- switched xexec to xexec_optargs because command argument is a pointer to optarg which is freed by xexec.
Diffstat (limited to 'toys/posix/ls.c')
0 files changed, 0 insertions, 0 deletions