bugGNU GRUB - Bugs: bug #31119, grub-probe segfault

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #31119: grub-probe segfault

Submitted by:  Martin Schitter <mash>
Submitted on:  Sat 25 Sep 2010 08:08:04 AM UTC  
 
Category: NoneSeverity: Major
Priority: 5 - NormalItem Group: Software Error
Status: FixedPrivacy: Public
Assigned to: NoneOriginator Name: 
Open/Closed: ClosedRelease: 
Release: Bazaar - trunkReproducibility: Every Time
Planned Release: None

Mon 01 Nov 2010 09:26:54 AM UTC, comment #2:

I applied the other patch which was confirmed to work on ML

Vladimir Serbinenko <phcoder>
Project Administrator
Sat 25 Sep 2010 11:30:11 PM UTC, comment #1:

here is a revised patch.

it takes care, that spare (index == 0xffff) or faulty (index == 0xfffe) drives don't increment array->nr_devs. otherwise the function grub_is_array_readable would return wrong results.

sorry, i didn't recognize that in my first attempt.

(file #21540)

Martin Schitter <mash>
Sat 25 Sep 2010 08:08:04 AM UTC, original submission:

grub2 needs some fixes to accept spare disks in raid arrays.
the attached modifications in 'grub-core/drive/raid.c' stopped the
segmentation faults on my machine.

for more details see:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=593652

Martin Schitter <mash>

 

Attached Files
file #21540:  grub2-raid-better.diff added by mash (1KiB - text/x-patch)
file #21538:  grub2-raid.diff added by mash (1KiB - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by phcoder (Posted a comment)
  • -unavailable- added by mash (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 01 Nov 2010 09:26:54 AM UTCphcoderStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Sat 25 Sep 2010 11:30:11 PM UTCmashAttached File-=>Added grub2-raid-better.diff, #21540
    Sat 25 Sep 2010 08:08:04 AM UTCmashAttached File-=>Added grub2-raid.diff, #21538

    Back to the top


    Powered by Savane 3.1-cleanup1