Bug 30467

Summary: rs crashes when option -z is used without -t.
Product: Base System Reporter: sven <sven>
Component: binAssignee: ru <ru>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 5.0-CURRENT   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description sven 2001-09-09 22:00:03 UTC
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
Comment 1 ru freebsd_committer freebsd_triage 2001-09-10 12:42:46 UTC
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. 


Comment 2 ru freebsd_committer freebsd_triage 2001-09-10 12:42:46 UTC
Responsible Changed
From-To: freebsd-bugs->ru