grub-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] fix an infinite loop with a corrupted pc partition table


From: Vladimir 'phcoder' Serbinenko
Subject: Re: [PATCH] fix an infinite loop with a corrupted pc partition table
Date: Sun, 26 Jul 2009 01:20:19 +0200

On Sun, Jul 26, 2009 at 12:58 AM, Vladimir 'phcoder'
Serbinenko<address@hidden> wrote:
> On Sun, Jul 26, 2009 at 12:35 AM, Vladimir 'phcoder'
> Serbinenko<address@hidden> wrote:
>>> Links backwards between extended partition entries are more likely to be
>>> due to data corruption than due to buggy partitoning tools.  OK, if you
>>> want, let's support up to 10 backward links.  That's more than enough.
>> I remembered a compact algorithm for detecting loops of such kind I
>> will implement it and submit a patch and we'll see how really compact
>> it is
> Here it is. Strange that I haven't remembered this algorithm before.
> Can someone test this patch?
Small optimisation
>>
>> --
>> Regards
>> Vladimir 'phcoder' Serbinenko
>>
>> Personal git repository: http://repo.or.cz/w/grub2/phcoder.git
>>
>
>
>
> --
> Regards
> Vladimir 'phcoder' Serbinenko
>
> Personal git repository: http://repo.or.cz/w/grub2/phcoder.git
>



-- 
Regards
Vladimir 'phcoder' Serbinenko

Personal git repository: http://repo.or.cz/w/grub2/phcoder.git

Attachment: loop.diff
Description: Text document


reply via email to

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