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
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/.