| Summary: | Typo in lpd.c | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Base System | Reporter: | tetsuya <tetsuya> | ||||
| Component: | bin | Assignee: | freebsd-bugs (Nobody) <bugs> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Only Me | ||||||
| Priority: | Normal | ||||||
| Version: | 3.4-RELEASE | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
|
Description
tetsuya
1999-12-21 11:40:00 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. |