Bug 463945 - seinfo segfaults when there is a space between option and its argument
Summary: seinfo segfaults when there is a space between option and its argument
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: setools
Version: 5.2
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Daniel Walsh
QA Contact: BaseOS QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-09-25 16:32 UTC by Milos Malik
Modified: 2018-08-02 07:18 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-10-02 12:54:28 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Milos Malik 2008-09-25 16:32:55 UTC
Description of problem:
The seinfo utility segfaults anytime I write a space between option and its argument. I found it out by accident, because I believed that all utilities await a space there.

Version-Release number of selected component (if applicable):
setools-3.0-3.el5

How reproducible:
always

Steps to Reproduce:
# seinfo -g iso9660
Rule loading disabled
Segmentation fault
# seinfo -t bin_t
Rule loading disabled
Segmentation fault
# seinfo -c dir
Rule loading disabled
Segmentation fault
#

Actual results:
A space between option and its argument causes a segfault.

Expected results:
A space between option and its argument does not cause a segfault.

Additional info:

Comment 1 Daniel Walsh 2008-09-25 19:23:57 UTC
Yes it thinks bin_t is a policy file.

Seems to work on rawhide version.  Perhaps we should just move to the upstream version or setools.


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