Your message dated Sun, 13 May 2012 20:11:43 +1000
with message-id <201205132011.44898.m...@purcell.id.au>
has caused the report #606728,
regarding dvbscan: Infinite loop parsing arguments
to be marked as having been forwarded to the upstream software
author(s) linux-me...@vger.kernel.org
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
606728: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=606728
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
---------- Forwarded Message ----------
Subject: Bug#606728: dvbscan: Infinite loop parsing arguments
Date: Sat, 11 Dec 2010, 21:13:08
From: Vincent Pelletier <plr.vinc...@gmail.com>
To: Debian Bug Tracking System <sub...@bugs.debian.org>
Package: dvb-apps
Version: 1.1.1+rev1355-1
Severity: normal
Tags: patch
How to reproduce:
dvbscan -out raw - some_file
Result:
dvbscan process taking 100% of cpu.
Cause:
Argument parser doesn't increment argument position when
encountering -out parameter, so it loops forever on parsing -out.
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.36vin0 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Versions of packages dvb-apps depends on:
ii libc6 2.11.2-7 Embedded GNU C Library: Shared
lib
ii udev 164-2 /dev/ and hotplug management
daemo
dvb-apps recommends no packages.
dvb-apps suggests no packages.
-- no debconf information
-----------------------------------------
--- dvbscan.c.org 2010-12-11 11:00:22.000000000 +0100
+++ dvbscan.c 2010-12-11 11:00:05.000000000 +0100
@@ -225,6 +225,7 @@
output_filename = argv[argpos+2];
if (!strcmp(output_filename, "-"))
output_filename = NULL;
+ argpos+=3;
} else {
if ((argc - argpos) != 1)
usage();
--- End Message ---