bug-parted
[Top][All Lists]
Advanced

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

bug#16231: [PATCH 0/9] Refactored loop fixes


From: Brian C. Lane
Subject: bug#16231: [PATCH 0/9] Refactored loop fixes
Date: Thu, 22 May 2014 12:01:42 -0700
User-agent: Mutt/1.5.23 (2014-03-12)

On Thu, May 22, 2014 at 09:32:33AM -0400, Phillip Susi wrote:
> On 5/21/2014 8:42 PM, Brian C. Lane wrote:
> > The problem is that the ntfs probe has a fixed 512b buffer and
> > tries to read a whole sector into it. The fat probes may also have
> > similar issues.
> 
> You must be using an out of date tree; commit 80678bdd957cf4 fixed that:
> 
>  static PedGeometry*
>  ntfs_probe (PedGeometry* geom)
>  {
> -       char    buf[512];
> +       char    *buf = alloca (geom->dev->sector_size);
> +       PedGeometry *newg = NULL;
> 

Sure enough, I was missing that one. Looks good, and passes all tests
on all arches.

-- 
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)





reply via email to

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