commit | ba84528d41d39adb0b26fdac0fafacc0614af7d4 | [log] [tgz] |
---|---|---|
author | Jacek Bukarewicz <j.bukarewicz@samsung.com> | Thu Sep 05 04:58:06 2013 -0500 |
committer | Jacek Bukarewicz <j.bukarewicz@samsung.com> | Thu Sep 05 04:58:06 2013 -0500 |
tree | 503f390bea36b64465f0d0cfdb9b7ed6ccdb40ea | |
parent | 314dc6881f0439478f483d26726c52c1c3f536ff [diff] |
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.