Bug 220846 - apol crashes in qpol_terule_get_default_type
Summary: apol crashes in qpol_terule_get_default_type
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: setools
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Chris PeBenito
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: bzcl34nup
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-12-27 21:38 UTC by Nicholas Miell
Modified: 2008-05-07 01:03 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-05-07 01:03:59 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
apol backtrace (5.53 KB, text/plain)
2006-12-27 21:38 UTC, Nicholas Miell
no flags Details

Description Nicholas Miell 2006-12-27 21:38:00 UTC
Description of problem:
apol crashes in libqpol.so:terule_query.c:qpol_terule_get_default_type

Version-Release number of selected component (if applicable):
checkpolicy-(none):1.33.1-2.fc6.x86_64
setools-(none):3.0-2.fc6.x86_64
policycoreutils-(none):1.33.6-3.fc6.x86_64
libselinux-(none):1.33.2-3.fc6.i386
libselinux-(none):1.33.2-3.fc6.x86_64
libsepol-(none):1.15.3-1.fc6.x86_64
libsepol-(none):1.15.3-1.fc6.i386

How reproducible:
Always

Steps to Reproduce:
1. Start apol
2. Open /etc/selinux/targeted/policy/policy.21
3. Click on the "Policy Rules" tab
4. Check the "Source/type attribute" checkbox (in the "Types/Attributes" tab
which is in the "TE Rules" tab)
5. Click the "New Search" button
  
Actual results:
Crash.

Expected results:
No crash. :)

Additional info:
Backtrace attached. setools-debuginfo is missing source and debug objects for
libqpol, so the trace may be inaccurate in places.

Comment 1 Nicholas Miell 2006-12-27 21:38:00 UTC
Created attachment 144422 [details]
apol backtrace

Comment 2 Nicholas Miell 2006-12-27 21:40:25 UTC
Steps to Reproduce:

4.1. Type "unconfined_t" into the "Source/type attribute" text entry. (It
specifically has to be unconfined_t, or, rather, I have not yet found another
type which causes the crash.)

This is with selinux-policy-2.4.6-13.fc6

Comment 3 Bug Zapper 2008-04-03 18:49:55 UTC
Based on the date this bug was created, it appears to have been reported
against rawhide during the development of a Fedora release that is no
longer maintained. In order to refocus our efforts as a project we are
flagging all of the open bugs for releases which are no longer
maintained. If this bug remains in NEEDINFO thirty (30) days from now,
we will automatically close it.

If you can reproduce this bug in a maintained Fedora version (7, 8, or
rawhide), please change this bug to the respective version and change
the status to ASSIGNED. (If you're unable to change the bug's version
or status, add a comment to the bug and someone will change it for you.)

Thanks for your help, and we apologize again that we haven't handled
these issues to this point.

The process we're following is outlined here:
http://fedoraproject.org/wiki/BugZappers/F9CleanUp

We will be following the process here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping to ensure this
doesn't happen again.

Comment 4 Bug Zapper 2008-05-07 01:03:57 UTC
This bug has been in NEEDINFO for more than 30 days since feedback was
first requested. As a result we are closing it.

If you can reproduce this bug in the future against a maintained Fedora
version please feel free to reopen it against that version.

The process we're following is outlined here:
http://fedoraproject.org/wiki/BugZappers/F9CleanUp


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