Package: bsdutils
Version: 1:2.12r-19
Severity: normal
Scriptreplay should check the number of arguments!
% scriptreplay
Use of uninitialized value in open at /usr/bin/scriptreplay line 45.
cannot read timing info: Datei oder Verzeichnis nicht gefunden at
/usr/bin/scriptreplay line 45.
PATCH:
--- scriptreplay 2007-02-21 18:48:57.000000000 +0100
+++ scriptreplay_patched 2007-03-30 15:44:04.000000000 +0200
@@ -42,6 +42,12 @@
use strict;
$|=1;
+
+if ($#ARGV != 0) {
+ print "usage: scriptreplay filename\n";
+ exit 1;
+}
+
open (TIMING, shift)
or die "cannot read timing info: $!";
open (TYPESCRIPT, shift || 'typescript')
-- System Information:
Debian Release: 4.0
APT prefers testing
APT policy: (990, 'testing')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-686
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Versions of packages bsdutils depends on:
ii libc6 2.3.6.ds1-13 GNU C Library: Shared libraries
Versions of packages bsdutils recommends:
ii bsdmainutils 6.1.6 collection of more utilities from
-- no debconf information
--
"Feel free" - 5 GB Mailbox, 50 FreeSMS/Monat ...
Jetzt GMX ProMail testen: http://www.gmx.net/de/go/promail
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]