Bug 1170320

Summary: Ext3 directory code should account for nil entries
Product: Red Hat CloudForms Management Engine Reporter: Rich Oliveri <roliveri>
Component: InsightAssignee: Rich Oliveri <roliveri>
Status: CLOSED ERRATA QA Contact: Ramesh A <rananda>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.3.0CC: dajohnso, dclarizi, drieden, gblomqui, obarenbo, rananda
Target Milestone: GA   
Target Release: 5.3.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.3.2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1170319 Environment:
Last Closed: 2015-01-14 19:44:01 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1170319    
Bug Blocks:    

Description Rich Oliveri 2014-12-03 19:26:24 UTC
+++ This bug was initially created as a clone of Bug #1170319 +++

Description of problem:
Nil entries in Ext3 directories can cause code to fault.
These nil entries should be filtered out.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Rich Oliveri 2014-12-04 18:15:33 UTC
This issue also applies to Ext4 and XFS code.

Comment 2 CFME Bot 2014-12-08 22:31:02 UTC
New commit detected on manageiq/master:
https://github.com/ManageIQ/manageiq/commit/1194c771a3055a332a94ec4f8690948405bc6f68

commit 1194c771a3055a332a94ec4f8690948405bc6f68
Author:     Richard Oliveri <roliveri>
AuthorDate: Thu Dec 4 14:11:28 2014 -0500
Commit:     Richard Oliveri <roliveri>
CommitDate: Thu Dec 4 14:25:33 2014 -0500

    Account for nil directory entries in FS code.
    
    Modify Ext3, Ext4 and XFS filesystem code to filter out nil directory entries.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1170320
    https://bugzilla.redhat.com/show_bug.cgi?id=1170319

 lib/fs/ext3/Ext3Directory.rb | 5 ++---
 lib/fs/ext4/Ext4Directory.rb | 2 +-
 lib/fs/xfs/directory.rb      | 2 +-
 3 files changed, 4 insertions(+), 5 deletions(-)

Comment 3 CFME Bot 2014-12-08 22:35:58 UTC
New commit detected on cfme/5.3.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=a93d06090e10cb6408b463e2b9b71cf693b498f9

commit a93d06090e10cb6408b463e2b9b71cf693b498f9
Author:     Richard Oliveri <roliveri>
AuthorDate: Thu Dec 4 14:11:28 2014 -0500
Commit:     Richard Oliveri <roliveri>
CommitDate: Mon Dec 8 17:34:27 2014 -0500

    Account for nil directory entries in FS code.
    
    Modify Ext3, Ext4 and XFS filesystem code to filter out nil directory entries.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1170320
    https://bugzilla.redhat.com/show_bug.cgi?id=1170319

 lib/fs/ext3/Ext3Directory.rb | 5 ++---
 lib/fs/ext4/Ext4Directory.rb | 2 +-
 lib/fs/xfs/directory.rb      | 2 +-
 3 files changed, 4 insertions(+), 5 deletions(-)

Comment 5 Dave Johnson 2015-01-13 14:56:18 UTC
Unable to reproduce with 5.3.2.06 on ext3, ext4, xfs filesystems.  Marking as verified

Comment 7 errata-xmlrpc 2015-01-14 19:44:01 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHSA-2015-0028.html