From: utzoo!decvax!harpo!floyd!cmcl2!salkind
Newsgroups: net.bugs.4bsd
Title: mv bug
Article-I.D.: cmcl2.12095
Posted: Tue Sep  7 23:44:21 1982
Received: Wed Sep  8 02:23:46 1982

In the routine mvdir(), change:

		strcat(dst, target);		<< change this line >>
  		strcat(dst, "/");
  		strcat(dst, DOTDOT);
to
		strcpy(dst, target);
  		strcat(dst, "/");
  		strcat(dst, DOTDOT);

This causes a mv of directories to possibly fail (since dst is
allocated space on the stack).

This bug also exists on v7 systems.

	Lou Salkind