From owner-freebsd-bugs Wed Feb 21 4:40:20 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 288A237B6A6 for ; Wed, 21 Feb 2001 04:40:16 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f1LCeGJ44557; Wed, 21 Feb 2001 04:40:16 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 4170B37B401 for ; Wed, 21 Feb 2001 04:36:39 -0800 (PST) (envelope-from nobody@FreeBSD.org) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f1LCad244208; Wed, 21 Feb 2001 04:36:39 -0800 (PST) (envelope-from nobody) Message-Id: <200102211236.f1LCad244208@freefall.freebsd.org> Date: Wed, 21 Feb 2001 04:36:39 -0800 (PST) From: william@babeltech.dk To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: bin/25250: segfault on tar Ixvf Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 25250 >Category: bin >Synopsis: segfault on tar Ixvf >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Feb 21 04:40:13 PST 2001 >Closed-Date: >Last-Modified: >Originator: William Brady >Release: 4.2-STABLE >Organization: Babeltech.dk >Environment: FreeBSD xef4.babeltech.dk 4.2-STABLE FreeBSD 4.2-STABLE #21: Wed Feb 14 15:39:10 CET 2001 root@xef4.babeltech.dk:/usr/src/sys/compile/NKNL i386 >Description: 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" >How-To-Repeat: tar Ixvf quux >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", >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message