Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1392893

Summary: IPA: Uninitialized variable during subdomain check
Product: Red Hat Enterprise Linux 7 Reporter: Marcel Kolaja <mkolaja>
Component: sssdAssignee: SSSD Maintainers <sssd-maint>
Status: CLOSED ERRATA QA Contact: Steeve Goveas <sgoveas>
Severity: unspecified Docs Contact:
Priority: high    
Version: 7.3CC: enewland, grajaiya, jhrozek, ksiddiqu, lslebodn, mkolaja, mkosek, mnavrati, mzidek, pbrezina, sgoveas, sssd-maint, sumenon, tlavigne, tscherf
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: sssd-1.14.0-43.el7_3.2 Doc Type: Bug Fix
Doc Text:
Previously, the IPA subdomain provider code contained an unitialized variable. As a consequence, the sssd_be process was at a risk of terminating unexpectedly. The underlying source code has been modified to prevent sssd_be from crashing.
Story Points: ---
Clone Of: 1382598 Environment:
Last Closed: 2016-12-06 17:11:57 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:
Bug Depends On: 1382598    
Bug Blocks:    

Description Marcel Kolaja 2016-11-08 12:27:19 UTC
This bug has been copied from bug #1382598 and has been proposed
to be backported to 7.3 z-stream (EUS).

Comment 4 Sudhir Menon 2016-11-09 14:35:42 UTC
Verified as per https://bugzilla.redhat.com/show_bug.cgi?id=1382598#c2 on RHEL7.3u1

ipa-server-4.4.0-14.el7_3.x86_64
sssd-1.14.0-43.el7_3.2.x86_64

[root@master ~]# valgrind /usr/libexec/sssd/sssd_be --domain ipa.test --uid 0 --gid 0
    ==6374== Memcheck, a memory error detector
    ==6374== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al.
    ==6374== Using Valgrind-3.11.0 and LibVEX; rerun with -h for copyright info
    ==6374== Command: /usr/libexec/sssd/sssd_be --domain ipa.test --uid 0 --gid 0
    ==6374==
    ==6374==
    ==6374== HEAP SUMMARY:
    ==6374==     in use at exit: 37,201 bytes in 68 blocks
    ==6374==   total heap usage: 1,433 allocs, 1,365 frees, 313,770 bytes allocated
    ==6374==
    ==6374== LEAK SUMMARY:
    ==6374==    definitely lost: 245 bytes in 4 blocks
    ==6374==    indirectly lost: 0 bytes in 0 blocks
    ==6374==      possibly lost: 5,126 bytes in 19 blocks
    ==6374==    still reachable: 31,830 bytes in 45 blocks
    ==6374==         suppressed: 0 bytes in 0 blocks
    ==6374== Rerun with --leak-check=full to see details of leaked memory
    ==6374==
    ==6374== For counts of detected and suppressed errors, rerun with: -v
    ==6374== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
    ***************************************

Comment 6 errata-xmlrpc 2016-12-06 17:11:57 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/RHBA-2016-2870.html