Index: usr.bin/soelim/soelim.c =================================================================== --- usr.bin/soelim/soelim.c (révision 282329) +++ usr.bin/soelim/soelim.c (copie de travail) @@ -102,6 +102,12 @@ while (isspace(walk[strlen(walk) - 1])) walk[strlen(walk) - 1] = '\0'; + + if (walk == '\0') { + free(line); + return (1); + } + if (soelim_file(soelim_fopen(walk)) == 1) { free(line); return (1);