Bug 700098

Summary: aureport --tty segfaults
Product: Red Hat Enterprise Linux 6 Reporter: Eduard Benes <ebenes>
Component: auditAssignee: Steve Grubb <sgrubb>
Status: CLOSED ERRATA QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: high Docs Contact:
Priority: high    
Version: 6.1Keywords: Regression
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: audit-2.1-5.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-19 13:55:43 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 682670    
Attachments:
Description Flags
Patch fixing bug none

Description Eduard Benes 2011-04-27 12:52:41 UTC
Description of problem:
Executing aureport --tty will segfault.

Version-Release number of selected component (if applicable):
audit-2.1-4.el6

How reproducible:
always

Steps to Reproduce:
1. # aureport --tty
2.
3.
  
Actual results:
# aureport --tty

TTY Report
===============================================
# date time event auid term sess comm data
===============================================
Segmentation fault

Expected results:
No segfault and appropriate output.


Additional info:
Does not segfault on RHEL 6.0 version audit-2.0.4-1.el6, thus marking as Regression.

Comment 2 Steve Grubb 2011-04-27 13:09:39 UTC
Created attachment 495226 [details]
Patch fixing bug

The attached patch is upstream and solves the problem.

Comment 3 Steve Grubb 2011-04-27 13:50:28 UTC
audit-2.1-5.el6 was built to address this issue.

Comment 6 errata-xmlrpc 2011-05-19 13:55:43 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-0653.html