Bug 552342 - PATCH: Fix mdadm crashing when auto keyword is used in mdadm.conf
Summary: PATCH: Fix mdadm crashing when auto keyword is used in mdadm.conf
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: mdadm
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Doug Ledford
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 537329
TreeView+ depends on / blocked
 
Reported: 2010-01-04 18:34 UTC by Hans de Goede
Modified: 2010-04-28 03:09 UTC (History)
3 users (show)

Fixed In Version: initscripts-9.09-1.fc13
Clone Of:
Environment:
Last Closed: 2010-01-15 21:45:04 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
PATCH: Fix mdadm crashing when auto keyword is used in mdadm.conf (2.01 KB, patch)
2010-01-04 18:34 UTC, Hans de Goede
no flags Details | Diff

Description Hans de Goede 2010-01-04 18:34:04 UTC
Created attachment 381611 [details]
PATCH: Fix mdadm crashing when auto keyword is used in mdadm.conf

mdadm crashes when the auto keyword is used in mdadm.conf, this is caused
by the code for handling the auto keyword simply storing a pointer to the double linked list it gets passed in, but the config file parser frees this linked list immediately after use.

The attached patch fixes this by making a copy of the double linked list in the 
code for handling the auto keyword.

Comment 1 Siddhesh Poyarekar 2010-01-08 13:48:47 UTC
This bug has been triaged

-- 
Fedora Bugzappers volunteer triage team
https://fedoraproject.org/wiki/BugZappers

Comment 2 Doug Ledford 2010-01-15 21:45:04 UTC
Fixed in rawhide

Comment 3 Fedora Update System 2010-04-09 20:12:52 UTC
mdadm-3.1.2-9.fc13,initscripts-9.09-1.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/mdadm-3.1.2-9.fc13,initscripts-9.09-1.fc13

Comment 4 Fedora Update System 2010-04-28 03:08:24 UTC
initscripts-9.09-1.fc13, mdadm-3.1.2-10.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.