Debian bug report logs - #1110
tar coredumps when given incorrect arguments

Package: tar; Reported by: richard@elmail.co.uk (Richard J Kettlewell); 107 days old.

Message received at debian-bugs:


From elmail.co.uk!richard Sun Jul 16 14:32:36 1995
Return-Path: <richard@elmail.co.uk>
Received: from pixar.com by mongo.pixar.com with smtp
	(Smail3.1.28.1 #15) id m0sXbIh-0007rxC; Sun, 16 Jul 95 14:32 PDT
Received: from tlingit.elmail.co.uk by pixar.com with SMTP id AA14503
  (5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Sun, 16 Jul 1995 14:31:01 -0700
Received: from sfere.elmail.co.uk by tlingit.elmail.co.uk (8.6.11) id WAA17333; Sun, 16 Jul 1995 22:31:09 +0100
Received: by sfere.elmail.co.uk
	id <m0sXaIr-000DFWC@sfere.elmail.co.uk>
	(Debian /\oo/\ Smail3.1.29.1 #29.33); Sun, 16 Jul 95 21:28 BST
Message-Id: <m0sXaIr-000DFWC@sfere.elmail.co.uk>
Date: Sun, 16 Jul 95 21:28 BST
From: richard@elmail.co.uk (Richard J Kettlewell)
To: debian-bugs@pixar.com
Subject: tar coredumps when given incorrect arguments

Package: tar
Version: 1.11.8
Revision: 1
Libc: 4.6.27 [debian revision 5]
Kernel: 1.2.11 [compiled from source-1.2.11-0.deb]

tar either coredumps, gives the right error or gives the wrong error
depending on the ordering of its arguments:-

Script started on Fri Jul 14 23:57:13 1995
sfere:src$ tar xfz
Segmentation fault (core dumped)
sfere:src$ tar xzf
tar: option requires an argument -- f
Try `tar --help' for more information.
sfere:src$ tar fxz
Segmentation fault (core dumped)
sfere:src$ tar fzx
tar: You must specify one of the r, c, t, x, or d options
Try `tar --help' for more information.
sfere:src$ tar zxf
tar: option requires an argument -- f
Try `tar --help' for more information.
sfere:src$ tar zfx
tar: You must specify one of the r, c, t, x, or d options
Try `tar --help' for more information.
sfere:src$ exit

Script done on Fri Jul 14 23:57:41 1995

md5sum /bin/tar says:-
507d90413804d16f89b9d01c4449d611  /bin/tar

ttfn/rjk

Acknowledgement sent to richard@elmail.co.uk (Richard J Kettlewell):
New bug report received and forwarded. Full text available.
Report forwarded to debian-devel@pixar.com:
Bug#1110; Package tar. Full text available.
Ian Jackson / iwj10@thor.cam.ac.uk, with the debian-bugs tracking mechanism
This page last modified 07:43:01 GMT Wed 01 Nov