Bug 552342

Summary: PATCH: Fix mdadm crashing when auto keyword is used in mdadm.conf
Product: [Fedora] Fedora Reporter: Hans de Goede <hdegoede>
Component: mdadmAssignee: Doug Ledford <dledford>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: dledford, notting, spoyarek
Target Milestone: ---Keywords: Patch, Triaged
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: initscripts-9.09-1.fc13 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-01-15 21:45:04 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 537329    
Attachments:
Description Flags
PATCH: Fix mdadm crashing when auto keyword is used in mdadm.conf none

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.