Subject: bin/2212: [is] multivolume tar operation from bad keyboards is dangrous
To: None <gnats-bugs@NetBSD.ORG>
From: Ignatios Souvatzis <ignatios@sinus.cs.uni-bonn.de>
List: netbsd-bugs
Date: 03/13/1996 18:17:58
>Number:         2212
>Category:       bin
>Synopsis:       Multivolume tar operation from bad keyboards is dangerous
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 13 12:20:02 1996
>Last-Modified:
>Originator:     Ignatios Souvatzis
>Organization:
computer science department, university of Bonn, Germany
>Release:        1.1
>Environment:
	
System: NetBSD sinus.cs.uni-bonn.de 1.1 NetBSD 1.1 (SINUS) #0: Wed Feb 7 14:55:53 MET 1996 ignatios@sinus.cs.uni-bonn.de:/usr/src/sys/arch/i386/compile/SINUS i386


>Description:

Tar waits for the user to press "return" when the next volume is
ready for it to continue. This is dangerous on archive write
operatons:  a bad keyboard might have emitted an echo of the previous
character, which might be, e.g., the Return you typed when you
started the tar command. This will lead to an overwritten volume #(n-1).

>How-To-Repeat:
	Make a multivolume backup of s.th. Get bitten by your bad keyboard.
>Fix:
	I suggest to wait for "y\n" (or any other sequence of two 
distinct characters)".

>Audit-Trail:
>Unformatted: