Package: gnu-fdisk Version: 1.2.2-1 Severity: serious As you can see from the output below, the package FTBFS with an up to date sid system:
,---- | checking for uuid_generate in -luuid... yes | checking for ped_device_read in -lparted... yes | checking for libparted - version >= 1.7.0... UNKNOWN-dirty, bad version string | no | configure: error: *** libparted >= 1.7.0 not installed - please install first *** | make: *** [config.status] Error 1 | dpkg-buildpackage: error: debian/rules build gave error exit status 2 | rbr...@chagas:/tmp/gnu-fdisk-1.2.2$ dpkg --status libparted1.8-dev | grep Version | Version: 1.8.8.git.2009.07.19-3 | rbr...@chagas:/tmp/gnu-fdisk-1.2.2$ `---- While it is trivial to make the configure step be bypassed, since we have a suitable library, the program (even if I use the updated 1.2.3 version from upstream) still segfaults with a memory leak. Running it under valgrind shows a scary leak. :-/ Here is the output of a 1.2.3 compiled version: ,---- | (...) | Device Boot Start End Blocks Id System | ==15707== Invalid read of size 1 | ==15707== at 0x4C24092: strlen (mc_replace_strmem.c:242) | ==15707== by 0x597242D: vfprintf (in /lib/libc-2.9.so) | ==15707== by 0x5978499: printf (in /lib/libc-2.9.so) | ==15707== by 0x405455: do_print (fdisk.c:1100) | ==15707== by 0x408563: fdisk_do_list_devices (fdisk.c:1331) | ==15707== by 0x40FE2B: fdisk_interactive_mode (ui.c:732) | ==15707== by 0x408662: fdisk (fdisk.c:2844) | ==15707== by 0x594A5C5: (below main) (in /lib/libc-2.9.so) | ==15707== Address 0xff is not stack'd, malloc'd or (recently) free'd | ==15707== `---- Apparently, the string used there is causing the strlen to run out of bounds. Regards, Rogério Brito. -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.31-rc5-1rb.pre6 (SMP w/2 CPU cores; PREEMPT) Locale: LANG=en_US.utf-8, LC_CTYPE=pt_BR.utf-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages gnu-fdisk depends on: ii libc6 2.9-24 GNU C Library: Shared libraries ii libncurses5 5.7+20090803-1 shared libraries for terminal hand pn libparted1.8-10 <none> (no description available) ii libreadline5 5.2-5 GNU readline and history libraries ii libuuid1 2.16-2.1 Universally Unique ID library gnu-fdisk recommends no packages. gnu-fdisk suggests no packages. -- Rogério Brito : rbr...@{mackenzie,ime.usp}.br : GPG key 1024D/7C2CAEB8 http://www.ime.usp.br/~rbrito : http://meusite.mackenzie.com.br/rbrito Projects: algorithms.berlios.de : lame.sf.net : vrms.alioth.debian.org -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org