bug-parted
[Top][All Lists]
Advanced

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

Re: Bug in gpt_probe()


From: rahul dev
Subject: Re: Bug in gpt_probe()
Date: Sun, 11 Sep 2011 18:51:23 +0530 (IST)

Any thoughts on this ? Did anyone get a chance to look at this ?

thanks,
rahul

--- On Mon, 1/8/11, rahul dev <address@hidden> wrote:

> From: rahul dev <address@hidden>
> Subject: Re: Bug in gpt_probe()
> To: "Brian C. Lane" <address@hidden>
> Cc: address@hidden
> Date: Monday, 1 August, 2011, 11:30 PM
> Yeah, its very simple. Just zero out
> the primary gpt header (ie lba=1) using dd command.
> Try to read the gpt partition table. libparted will fail to
> read it although the secondary partition table at the end of
> disk is intact and still valid.
> 
> thanks,
> rahul
> 
> --- On Mon, 1/8/11, Brian C. Lane <address@hidden>
> wrote:
> 
> > From: Brian C. Lane <address@hidden>
> > Subject: Re: Bug in gpt_probe()
> > To: "rahul dev" <address@hidden>
> > Cc: address@hidden
> > Date: Monday, 1 August, 2011, 10:29 PM
> > On Mon, Aug 01, 2011 at 10:00:58AM
> > +0530, rahul dev wrote:
> > > Guys,
> > > 
> > >   Looks like there is a bug in
> > gpt_probe(). In case it reads the primary header
> > successfully but doesn't find a gpt signature, it
> returns 0
> > and doesn't check for the secondary gpt table.
> > > 
> > > This seems to be a serious bug. Can anyone take a
> look
> > ?
> > 
> > Can you describe a reliable way to reproduce it?
> Preferably
> > using a
> > disk image file as a test.
> > 
> > -- 
> > Brian C. Lane | Anaconda Team | IRC: bcl #anaconda |
> Port
> > Orchard, WA (PST8PDT)
> >
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]