Bug 463749

Summary: matchpathcon -V segfaults on various files
Product: [Fedora] Fedora Reporter: Milos Malik <mmalik>
Component: libselinuxAssignee: Daniel Walsh <dwalsh>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 8CC: dwalsh, mgrepl
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-09-26 13:36:13 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:

Description Milos Malik 2008-09-24 14:50:37 UTC
Description of problem:

Version-Release number of selected component (if applicable):
libselinux-2.0.43-1.fc8

How reproducible:
always

Steps to Reproduce:
# ls -lZ /usr/sbin/racoonctl
-rwxr-xr-x  root root system_u:object_r:bin_t:s0       /usr/sbin/racoonctl
# matchpathcon -V /usr/sbin/racoonctl
Segmentation fault
# ls -lZ /usr/sbin/racoon
-rwxr-xr-x  root root system_u:object_r:racoon_exec_t:s0 /usr/sbin/racoon
# matchpathcon -V /usr/sbin/racoon
Segmentation fault
# ls -lZ /usr/sbin/matchpathcon
-rwxr-xr-x  root root system_u:object_r:bin_t:s0       /usr/sbin/matchpathcon
# matchpathcon -V /usr/sbin/matchpathcon
Segmentation fault
# 
  
Actual results:
3 segmentation faults

Expected results:
no segmentation faults

Additional info:

Comment 1 Daniel Walsh 2008-09-26 13:36:13 UTC
I don't like the idea of upgrading libselinux to a newer version.  This seems to work fine in Fedora 9, so I am closing this as fixed in the next release.