Bug 251911
Summary: | Parsing log file with aureport causes segmentation fault | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Eduard Benes <ebenes> |
Component: | audit | Assignee: | Steve Grubb <sgrubb> |
Status: | CLOSED ERRATA | QA Contact: | Brian Brock <bbrock> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 5.1 | CC: | ebenes |
Target Milestone: | --- | Keywords: | Regression |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | RHBA-2007-0602 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2007-11-07 17:05:06 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
Eduard Benes
2007-08-13 13:17:05 UTC
This bug affects also aureport tool: [root/sysadm_r/SystemLow@pipa01 ~]# aureport Summary Report ====================== Segmentation fault [root/sysadm_r/SystemLow@pipa01 ~]# gdb aureport GNU gdb Red Hat Linux (6.5-16.el5rh) Copyright (C) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "x86_64-redhat-linux-gnu"...Using host libthread_db library "/lib64/libthread_db.so.1". (gdb) run Starting program: /sbin/aureport [Thread debugging using libthread_db enabled] [New Thread 46912496171232 (LWP 2360)] Summary Report ====================== Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 46912496171232 (LWP 2360)] parse_user (n=<value optimized out>, s=0x7fff4f501bd0) at ausearch-parse.c:722 722 *term = 0; (gdb) bt #0 parse_user (n=<value optimized out>, s=0x7fff4f501bd0) at ausearch- parse.c:722 #1 0x0000000000406213 in extract_search_items (l=0x7fff4f501ba0) at ausearch- parse.c:176 #2 0x0000000000407ba0 in scan (l=0x7fff4f501ba0) at aureport-scan.c:190 #3 0x0000000000401af7 in process_log_fd (filename=0x1f4cc030 "/var/log/audit/ audit.log") at aureport.c:205 #4 0x0000000000401ff2 in main (argc=<value optimized out>, argv=<value optimized out>) at aureport.c:160 #5 0x0000003682e1d8a4 in __libc_start_main () from /lib64/libc.so.6 #6 0x0000000000401739 in _start () (gdb) aureport bug is understood. A struct was not getting cleared at program init and free was segfaulting on invalid pointers. Ausearch bug was not reproducible. This bugzilla has Keywords: Regression. Since no regressions are allowed between releases, it is also being proposed as a blocker for this release. Please resolve ASAP. The ausearch bug reported above is a known bug fixed under bz 249759. (audit-1.5.5-3 was being used for testing.) The aureport bug is new, though. 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 the 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-2007-0602.html |