NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/38431: getparts in dkwedge_mbr.c seems to use stale data
The following reply was made to PR kern/38431; it has been noted by GNATS.
From: David Laight <david%l8s.co.uk@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: kern/38431: getparts in dkwedge_mbr.c seems to use stale data
Date: Tue, 15 Apr 2008 18:16:28 +0100
On Tue, Apr 15, 2008 at 07:45:00AM +0000, yamt%mwd.biglobe.ne.jp@localhost
wrote:
> >Number: 38431
> >Synopsis: getparts in dkwedge_mbr.c seems to use stale data
...
> >Description:
> getparts() recursively calls getparts(), which overwrites the
> contents of a->buf.
It is probably worth pointing out that the extended partition table
is a linked list, not a 4-way tree.
This means the code should be using an interative parser (like all
the other code that reads mbr tables).
David
--
David Laight: david%l8s.co.uk@localhost
Home |
Main Index |
Thread Index |
Old Index