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

libpq 13.11 incompatible with openssl 3.2.x

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Undefined Undefined
    • rhel-9.5
    • CentOS Stream 9
    • libpq
    • None
    • libpq-13.15-1.el9
    • None
    • None
    • rhel-sst-cs-databases
    • 26
    • 6
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • x86_64
    • None

      Steps to recreate:

      install psycogp2 and postgresql 13 client libraries

      ensure libpq <= 13.11

      ensure openssl >= 3.2.x

      start a client connection to a running postgres server (ssl enabled)

      various errors on client side logs:
      free(): invalid pointer
      free(): invalid size
      double free or corruption (out)

      Seems there is a known bug between older libpq and openssl 3.2.0

      libpq >= 13.12 seems to have the patch to address it

      I tested libpq 13.14 (a one-off build, not part of stream 9 yet) with openssl 3.2.0 and it worked for us (no errors)

      links:

      https://github.com/conan-io/conan-center-index/pull/22615
      https://github.com/Homebrew/homebrew-core/issues/155651

              fjanus@redhat.com Filip Janus
              sfoster@redhat.com Seth Foster
              Filip Janus Filip Janus
              Vaclav Danek Vaclav Danek
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: