Bug 463749 - matchpathcon -V segfaults on various files
Summary: matchpathcon -V segfaults on various files
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: libselinux
Version: 8
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-09-24 14:50 UTC by Milos Malik
Modified: 2010-02-03 07:41 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-09-26 13:36:13 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


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