[Top][All Lists]
[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: |
Felix Zielcke |
Subject: |
Re: [PATCH] fix an infinite loop with a corrupted pc partition table |
Date: |
Fri, 24 Jul 2009 21:24:31 +0200 |
Am Freitag, den 24.07.2009, 18:58 +0200 schrieb Felix Zielcke:
>
>
> With this [0] partition table grub-probe currently loops forever:
>
> kern/disk.c:389: Reading `hd1'...
> partmap/pc.c:142: partition 0: flag 0x0, type 0x5, start 0x0, len
> 0x11177330
> partmap/pc.c:142: partition 1: flag 0x0, type 0x0, start 0x0, len 0x0
> partmap/pc.c:142: partition 2: flag 0x0, type 0x0, start 0x0, len 0x0
> partmap/pc.c:142: partition 3: flag 0x0, type 0x0, start 0x0, len 0x0
> kern/disk.c:389: Reading `hd1'...
> partmap/pc.c:142: partition 0: flag 0x0, type 0x5, start 0x0, len
> 0x11177330
> partmap/pc.c:142: partition 1: flag 0x0, type 0x0, start 0x0, len 0x0
> partmap/pc.c:142: partition 2: flag 0x0, type 0x0, start 0x0, len 0x0
> partmap/pc.c:142: partition 3: flag 0x0, type 0x0, start 0x0, len 0x0
> [...]
>
> This patch fixes it, but probable there's a better fix.
>
>
> [0]
> http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=5;filename=corrupt-table.dat;att=1;bug=519223
>
Here's a new one after comments from Vladimir on IRC
loop count is increased to 100'000 and partitions with a starting sector
of 0 are ignored.
--
Felix Zielcke
corrupted_partmap.diff.2
Description: Text document
- [PATCH] fix an infinite loop with a corrupted pc partition table, Felix Zielcke, 2009/07/24
- Re: [PATCH] fix an infinite loop with a corrupted pc partition table,
Felix Zielcke <=
- Re: [PATCH] fix an infinite loop with a corrupted pc partition table, Pavel Roskin, 2009/07/24
- Re: [PATCH] fix an infinite loop with a corrupted pc partition table, Robert Millan, 2009/07/25
- Re: [PATCH] fix an infinite loop with a corrupted pc partition table, Vladimir 'phcoder' Serbinenko, 2009/07/25
- Re: [PATCH] fix an infinite loop with a corrupted pc partition table, Pavel Roskin, 2009/07/25
- Re: [PATCH] fix an infinite loop with a corrupted pc partition table, Vladimir 'phcoder' Serbinenko, 2009/07/25
- Re: [PATCH] fix an infinite loop with a corrupted pc partition table, Vladimir 'phcoder' Serbinenko, 2009/07/25
- Re: [PATCH] fix an infinite loop with a corrupted pc partition table, Vladimir 'phcoder' Serbinenko, 2009/07/25
- Re: [PATCH] fix an infinite loop with a corrupted pc partition table, Felix Zielcke, 2009/07/26
- Re: [PATCH] fix an infinite loop with a corrupted pc partition table, Robert Millan, 2009/07/28