| Summary: | rs crashes when option -z is used without -t. | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Base System | Reporter: | sven <sven> | ||||
| Component: | bin | Assignee: | ru <ru> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Only Me | ||||||
| Priority: | Normal | ||||||
| Version: | 5.0-CURRENT | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
State Changed From-To: open->closed Fixed in 5.0-CURRENT, usr.bin/rs/rs.c,v 1.6, thanks! I've ordered an MFC approval for this. Responsible Changed From-To: freebsd-bugs->ru |
When trying to find out the maximum column width in prepfile() the element pointer ep is not initialised in case the -z option is used without -t. Fix: This fix inserts the missing pointer initialisation and removes misplaced debugging code. How-To-Repeat: ls | rs -z