printenv: fix environ == NULL segfault
authorDenys Vlasenko <vda.linux@googlemail.com>
Tue, 8 Mar 2011 11:44:02 +0000 (12:44 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Tue, 8 Mar 2011 11:44:02 +0000 (12:44 +0100)
commit86cf0364bd58e07646a23a1128e4a9ea79189579
tree22e161a76936796b5f8d49536684d371e7e8bfc3
parent6b6af53426d98ab513972bd710f250e246e7fc98
printenv: fix environ == NULL segfault

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
coreutils/printenv.c
coreutils/test.c