Bug 25250

Summary: segfault on tar Ixvf
Product: Base System Reporter: william <william>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.2-STABLE   
Hardware: Any   
OS: Any   

Description william 2001-02-21 12:40:13 UTC
tar Ixvf does not perform proper argument checking and segfaults if not given an additional argument.  Giving the proper arguments exits with "tar: too many args with -T option"

Fix: 

Change line 327 of /usr/src/gnu/usr.bin/tar/tar.c

from
"-01234567Ab:BcC:df:F:g:GhiIjkK:lL:mMnN:oOpPrRsStT:[AuUvV:wWxX:yzZ",

to
"-01234567Ab:BcC:df:F:g:GhiI:jkK:lL:mMnN:oOpPrRsStT:[AuUvV:wWxX:yzZ",
How-To-Repeat: tar Ixvf quux
Comment 1 Mike Barcroft freebsd_committer freebsd_triage 2001-07-19 04:45:48 UTC
State Changed
From-To: open->closed

This PR has been superseded by PR: bin/26010