This patch fixes the errors that occur if the HOME environment vairable exists, but is an empty string. Patch by Eduard Bloch . diff -Naur aumix-2.8.orig/src/common.c aumix-2.8/src/common.c --- aumix-2.8.orig/src/common.c 2002-10-29 22:27:51.000000000 +0100 +++ aumix-2.8/src/common.c 2002-11-29 19:01:09.000000000 +0100 @@ -591,7 +591,7 @@ char filename[PATH_MAX]; if (save_filename == NULL) { home = getenv("HOME"); - if ((strlen(home) + strlen(AUMIXRC) + 2) < PATH_MAX) { + if (home && ((strlen(home) + strlen(AUMIXRC) + 2) < PATH_MAX)) { sprintf(filename, "%s/.%s", home, AUMIXRC); setfile = CheckAndOpen(filename, mode); }