Debian Bug report logs - #289549
[patch] mp3blaster: accepts invalid values for yesno configs

version graph

Package: mp3blaster; Maintainer for mp3blaster is Debian QA Group <[email protected]>; Source for mp3blaster is src:mp3blaster (PTS, buildd, popcon).

Reported by: Bernhard Fischer <[email protected]>

Date: Sun, 9 Jan 2005 18:18:04 UTC

Severity: minor

Tags: patch

Found in version 1:3.2.0-6

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], Jochen Friedrich <[email protected]>:
Bug#289549; Package mp3blaster. (full text, mbox, link).


Acknowledgement sent to Bernhard Fischer <[email protected]>:
New Bug report received and forwarded. Copy sent to Jochen Friedrich <[email protected]>. (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Bernhard Fischer <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Cc: [email protected]
Subject: [patch] mp3blaster: accepts invalid values for yesno configs
Date: Sun, 9 Jan 2005 19:04:30 +0100
[Message part 1 (text/plain, inline)]
Package: mp3blaster
Version: 1:3.2.0-6
Severity: minor
Tags: patch

cf_type_yesno() did not reject improper settings for yes/no options
in the configuration file as opposed to what all other cf_type..()
checks do.

Attached patch corrects the check whether the given value is valid or
not.

To reproduce, put an arbitrary string as value for a type_yesno into
your mp3blasterrc, where only yes/true/1 resp. no/false/0 are allowed:
DownFrequency = thisshouldret-1andnot0


src/config.cc
	* catch invalid yesno values in configfile.


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-p4-smp
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages mp3blaster depends on:
ii  libc6                       2.3.2.ds1-20 GNU C Library: Shared libraries an
ii  libgcc1                     1:3.4.3-6    GCC support library
ii  libncurses5                 5.4-4        Shared libraries for terminal hand
ii  libsidplay1-c102            1.36.59-2    SID (MOS 6581) emulation library
ii  libstdc++5                  1:3.3.5-5    The GNU Standard C++ Library v3
ii  libvorbis0a                 1.0.1-1      The Vorbis General Audio Compressi
ii  libvorbisfile3              1.0.1-1      The Vorbis General Audio Compressi

-- no debconf information
[mp3blaster-3.2.0_catch_invalid_yesno_values.diff (text/plain, attachment)]

Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Thu May 15 09:53:14 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.