negative; this can happen with some screwy NFS configurations.
/* Be sure name_size is at least `1' so there's room for
the final NUL byte. */
/* Be sure name_size is at least `1' so there's room for
the final NUL byte. */
- name_size += !name_size;
+ if (name_size <= 0)
+ name_size = 1;
name_space = (char *) malloc (name_size);
if (name_space == NULL)
name_space = (char *) malloc (name_size);
if (name_space == NULL)