efingerd.c: fix a potential buffer overflow