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

Submitter:  Martin Schitter <mash>
Submitted:  Sat 25 Sep 2010 08:08:04 AM UTC
   
 
Category:  None Severity:  Major
Priority:  5 - Normal Item Group:  Software Error
Status:  Fixed Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Closed Release:  Bazaar - trunk
Release:  Reproducibility:  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>
Group 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>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

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
  • -email is unavailable- added by phcoder (Posted a comment)
  • -email is unavailable- added by mash (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-11-01 phcoder StatusNone Fixed
        Open/ClosedOpen Closed
    2010-09-25 mash Attached File- Added grub2-raid-better.diff, #21540
    2010-09-25 mash Attached File- Added grub2-raid.diff, #21538

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code