Bug 15604

Summary: Typo in lpd.c
Product: Base System Reporter: tetsuya <tetsuya>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 3.4-RELEASE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description tetsuya 1999-12-21 11:40:00 UTC
It's a long-life bug since the initial revision.
It doesn't seem to have any ill effect in the current source code.

How-To-Repeat: 
None.
Comment 1 Matt Dillon freebsd_committer freebsd_triage 2000-01-25 01:43:20 UTC
State Changed
From-To: open->closed

The change has been committed.  A review of the code indicates that 
the use of the wrong buffer in this case did not introduce any  
security holes because 'from' was previously initialized to point 
to another buffer of the same size as fromb, and due to the strncpy() 
the last element of fromb is already zero anyway.  The whole assignment 
could be removed but I'm not that adventureous so I've only fixed  
the type-o as indicated in the patch.