On 2008/01/14 22:14, Stuart Henderson wrote: > +- strncpy(name, hostinfo->names[i].ascii_name, 15); > +- name[16]=0; > ++ strlcpy(name, hostinfo->names[i].ascii_name, 16);
...or even just change the name[16] in v_print_hostinfo() and d_print_hostinfo() to name[15].