an illegal memory access past the end of malloc'ed area.
Added support for optional debugging malloc. No code changes if you are
using the normal malloc in mr_smalloc.c
extern char buf1[];
extern char *whoami;
-extern char *malloc();
char *kname_unparse();
&cl->client_id, &cl->users_id);
if (cl->args->mr_version_no == MR_VERSION_2) {
- bcopy(cl->args->mr_argv[1], cl->entity, 8);
+ strncpy(cl->entity, cl->args->mr_argv[1], 8);
cl->entity[8] = 0;
} else {
strcpy(cl->entity, "???");