Bug#483900: grub-probe -t segfaults

Robert Millan rmh at aybabtu.com
Sun Jun 1 09:40:06 UTC 2008


On Sat, May 31, 2008 at 07:13:43PM -0400, Joey Hess wrote:
> 
> ltrace shows the following NULL pointer dereference:
> 
> strlen("/dev/mapper/kodama-root")               = 23
> malloc(12)                                      = 0x806f028
> strcpy(0x806f028, "kodama-root")                = 0x806f028
> malloc(8)                                       = 0x806f038
> malloc(36)                                      = 0x806f0d0
> malloc(12)                                      = 0x806f0f8
> strcmp("hd0", "kodama-root")                    = -1
> strcmp(NULL, "kodama-root" <unfinished ...>

I assume this didn't happen with 1.96+20080512-1 ?  There was a minor change
in disk/lvm.c, but I don't see how it could produce a segfault.

Could you provide a backtrace?

-- 
Robert Millan

<GPLv2> I know my rights; I want my phone call!
<DRM> What good is a phone call… if you are unable to speak?
(as seen on /.)





More information about the Pkg-grub-devel mailing list