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: Robert Millan
Subject: Re: [PATCH] fix an infinite loop with a corrupted pc partition table
Date: Sat, 25 Jul 2009 18:36:36 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

On Fri, Jul 24, 2009 at 09:24:31PM +0200, Felix Zielcke wrote:
> +  loop = 0;
> +  while (loop < 100000)
> [...]
> +  if (loop == 100000)
> +    return grub_error (GRUB_ERR_BAD_PART_TABLE, "Corrupted partition table 
> found.");

What does this 100000 represent?  It looks like heuristic, but I'm missing
some context (I'm not familiar with extended partition layout).

-- 
Robert Millan

  The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
  how) you may access your data; but nobody's threatening your freedom: we
  still allow you to remove your data and not access it at all."




reply via email to

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