ajwillia-ms pushed a commit to branch master. http://git.enlightenment.org/tools/edi.git/commit/?id=de04dec6c064d244aa0b561c8d96f4bd250db90f
commit de04dec6c064d244aa0b561c8d96f4bd250db90f Author: Andy Williams <a...@andywilliams.me> Date: Sun Feb 15 21:03:07 2015 +0000 Fix a crash if andy env is not present --- src/bin/screens/edi_welcome.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/bin/screens/edi_welcome.c b/src/bin/screens/edi_welcome.c index ac5fb1a..c64ca78 100644 --- a/src/bin/screens/edi_welcome.c +++ b/src/bin/screens/edi_welcome.c @@ -236,6 +236,9 @@ _edi_welcome_user_fullname_get(const char *username, char *fullname, size_t max) struct passwd *p; size_t n; + if (!username) + return 0; + errno = 0; p = getpwnam(username); if (p == NULL && errno == 0) --