Bug 38671

Summary: Add a check for MAXPATHLEN to cp(1).
Product: Base System Reporter: Giorgos Keramidas <keramida>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 5.0-CURRENT   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Giorgos Keramidas freebsd_committer freebsd_triage 2002-05-29 00:00:09 UTC
The following patch has been merged from NetBSD.  Their version of
cp(1) always checks the destination pathname to make sure it doesn't
exceed MAXPATHLEN.

Fix: %%%
Comment 1 Giorgos Keramidas freebsd_committer freebsd_triage 2002-05-29 02:38:13 UTC
State Changed
From-To: open->closed

Enlightened by bde in private mail. 
The FreeBSD version of cp does this already.