[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#165891: apt-config: segfaults when validating a string as an integer



Package: apt
Version: 0.5.4
Severity: normal

$ LC_ALL=C apt-config shell TOTO Dir::State/f
TOTO='/var/lib/apt/'
$ LC_ALL=C apt-config shell TOTO Dir::State/i
Erreur de segmentation


BTW, there is no complaint when an unknown type abbrev is given:

$ LC_ALL=C apt-config shell TOTO Dir::State/z
$

-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux vitel 2.4.19-station #1 Tue Aug 6 11:36:58 CEST 2002 i686
Locale: LANG=french, LC_CTYPE=french

Versions of packages apt depends on:
ii  libc6                         2.2.5-6    GNU C Library: Shared libraries an
ii  libstdc++2.10-glibc2.2        1:2.95.4-7 The GNU stdc++ library

-- 
Yann Dirson <Yann.Dirson@fr.alcove.com>                 http://www.alcove.com/
Technical support manager                Responsable de l'assistance technique
Senior Free-Software Consultant          Consultant senior en Logiciels Libres
Debian developer (dirson@debian.org)                        Développeur Debian



Reply to: