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

libdb: Incorrect 32-bit path for glibc change detection

Linking RHIVOS CVEs to...Migration: Automation ...Sync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • rhel-9.7
    • libdb
    • None
    • No
    • None
    • rhel-databases
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • Red Hat Enterprise Linux
    • None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • i686
    • None

      In db-5.3.28-condition_variable.patch, an incorrect path is used on 32-bit architectures:

      +time_t
      +__os_pthreads_timestamp(env)
      +       ENV *env;
      +{
      +       time_t  timestamp = 0;
      +       const char *libc_path;
      +        struct stat64 stbuf;
      +
      +       libc_path = (sizeof(void *) == 8 ? "/usr/lib64/libc.so.6" :
      +                    "/usr/libc.so.6");
      +
      +       if (stat64(libc_path, &stbuf) == 0)
      +               timestamp = stbuf.st_mtime;
      +
      +       return (timestamp);
      +
      +}
      

      The string "/usr/libc.so.6" should be "/usr/lib/libc.so.6".

      Found through code inspection, no application impact is known.

              fjanus@redhat.com Filip Janus
              fweimer@redhat.com Florian Weimer
              Filip Janus Filip Janus
              Vaclav Danek Vaclav Danek
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: