Bug#696009: segfaults when given invalid input
Wouter Verhelst
wouter at debian.org
Sat Dec 15 16:40:32 UTC 2012
Package: grub-common
Version: 1.99-23.1
Severity: normal
File: /usr/sbin/grub-probe
Hi,
As I was trying to track down the cause of 681227, I was trying to run
some commands from the code. As part of that, I tried running grub-probe
to see what it was supposed to do. Wrongly assuming it would expect (or,
at least, support) grub-style device names, I tried to run:
grub-probe '(hd0)'
which resulted in a segfault.
While I found out later that this is not the way grub-probe expects to
be called, I don't think it should segfault on invalid input.
-- System Information:
Debian Release: 7.0
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=nl_BE.UTF-8, LC_CTYPE=nl_BE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages grub-common depends on:
ii gettext-base 0.18.1.1-10
ii libc6 2.13-37
ii libdevmapper1.02.1 2:1.02.74-5
ii libfreetype6 2.4.9-1
ii libfuse2 2.9.2-2
ii liblzma5 5.1.1alpha+20120614-2
ii zlib1g 1:1.2.7.dfsg-13
Versions of packages grub-common recommends:
ii os-prober 1.56
Versions of packages grub-common suggests:
pn desktop-base <none>
pn grub-emu <none>
pn multiboot-doc <none>
pn xorriso <none>
-- no debconf information
More information about the Pkg-grub-devel
mailing list