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.
1 file changed