Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-17175

Crash on open/close connections [rhel-9.4.0]

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Normal Normal
    • rhel-9.4
    • rhel-9.2.0
    • 389-ds-base
    • None
    • 389-ds-base-2.4.5-3.el9
    • None
    • None
    • ZStream
    • rhel-sst-idm-ds
    • ssg_idm
    • 12
    • 23
    • 0
    • QE ack, Dev ack
    • False
    • Hide

      None

      Show
      None
    • Yes
    • None
    • Approved Blocker
    • Bug Fix
    • Hide
      .If the `nsslapd-numlisteners` attribute value is more than `2`, Directory Server no longer fails

      Previously, if the `nsslapd-numlisteners` attribute value was higher than `2`, Directory Server sometimes closed the listening file descriptor instead of the accepted file descriptor. As a consequence, a segmentation fault occurred in Directory Server. With this update, Directory Server closes the correct descriptor and continues listening on ports correctly.
      Show
      .If the `nsslapd-numlisteners` attribute value is more than `2`, Directory Server no longer fails Previously, if the `nsslapd-numlisteners` attribute value was higher than `2`, Directory Server sometimes closed the listening file descriptor instead of the accepted file descriptor. As a consequence, a segmentation fault occurred in Directory Server. With this update, Directory Server closes the correct descriptor and continues listening on ports correctly.
    • Done
    • None

      What were you trying to do that didn't work?

      Testing the new implementation of the connection table (used for multi-listeners), we detected a bug, when the connection slot reach the end of the connection table.
      The bug is only detectable with ASAN build and may impact DS to accept new connection.

      Please provide the package NVR for which bug is seen:

      389-ds-base-2.2.4-5

      How reproducible:

      The upstream ticket contains a testcase https://github.com/389ds/389-ds-base/issues/5924

      Expected results

      ASAN build should be successful

       

              progier Pierre Rogier
              tbordaz@redhat.com Thierry Bordaz
              IdM DS Dev IdM DS Dev
              Barbora Simonova Barbora Simonova
              Evgenia Martyniuk Evgenia Martyniuk
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: