[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] Increment buffer used to read first boot sector in order to accomodate space for 4k sector
>>> On 03.08.12 at 17:22, "Jan Beulich" <JBeulich@xxxxxxxx> wrote: >>>> On 03.08.12 at 16:50, Frediano Ziglio <frediano.ziglio@xxxxxxxxxx> wrote: >> This patch increase sector buffer in order to avoid this overflow > > And if we indeed need to adjust for this, then let's fix this properly: > Don't just increase the buffer size, but also check that the sector > size reported actually fits. That may require calling Fn48 first, > before doing the actual read. This, btw, is how current Linux is doing it. But I don't think they're really protected from corruption either when sufficiently large sector sizes get encountered... Jan _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |