Re: bugs in md.c

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

 



On Tuesday September 9, a.bono@libero.it wrote:
> After stoping /dev/md0 i tried to assemble updating summaries with mdadm
> 1.3 + patches but i receive a segmentation fault
> 
> mdadm compiled staticaly on a Debian stable (gcc 2.95) and unstable (gcc
> 3.3.2)
> 
...
> --- SIGSEGV (Segmentation fault) @ 0 (0) ---
> +++ killed by SIGSEGV +++

Oops. Silly typo:
Line 304 of Assembly.c is

				for (i=0; MD_SB_DISKS ; i++) 
but should be
				for (i=0; i < MD_SB_DISKS ; i++) 

I have updated the patch at:
  http://www.cse.unsw.edu.au/~neilb/source/mdadm/patch/applied/

NeilBrown
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux