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

Executing "userhelper -t" produces a core dump

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • rhel-9.7
    • rhel-9.5
    • usermode
    • None
    • usermode-1.114-7.el9
    • No
    • Moderate
    • rhel-base-utils-core
    • ssg_core_services
    • 22
    • 24
    • 2
    • False
    • False
    • Hide

      None

      Show
      None
    • No
    • Red Hat Enterprise Linux
    • None
    • Release Note Not Required
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      See below:

      [root@vm-rhel9 ~]# userhelper -t
      **
      ERROR:userhelper.c:2523:main: code should not be reached
      Bail out! ERROR:userhelper.c:2523:main: code should not be reached
      Aborted (core dumped)
      

      The reason is absence of argument handling, causing the following "unreached" line 2523 to be reached:

      2282 int
      2283 main(int argc, char **argv)
      2284 {
       :
      2521 
      2522         /* Not reached. */
      2523         g_assert_not_reached();
      2524         exit(0);
      2525 }
      

              mhlavink Michal Hlavinka
              rhn-support-rmetrich Renaud Métrich
              Michal Hlavinka Michal Hlavinka
              Jakub Haruda Jakub Haruda
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated: