Bug 439025

Summary: mc segfaults if hint files are missing
Product: [Fedora] Fedora Reporter: Tomas Heinrich <theinric>
Component: mcAssignee: Jindrich Novy <jnovy>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhideCC: pknirsch, pvrabec
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-03-27 13:35:14 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:
Attachments:
Description Flags
fix none

Description Tomas Heinrich 2008-03-26 16:02:49 UTC
Description of problem:
mc segfaults if hint files are missing.

Version-Release number of selected component (if applicable):
4.6.1a-45.20070124cvs.fc7
4.6.2-2.pre1.fc9

How reproducible:
Always

Steps to Reproduce:
1. remove all hintfiles (eg /usr/share/mc/mc.hint)
2. launch mc
  
Actual results:
Segmentation fault (core dumped)

Expected results:
Survive

Additional info:
Attached patch should fix this.

Comment 1 Tomas Heinrich 2008-03-26 16:02:49 UTC
Created attachment 299182 [details]
fix

Comment 2 Jindrich Novy 2008-03-27 13:35:14 UTC
Applied, thanks!