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

glibc: GLIBC_TUNABLES string not zero terminated

    • sst_pt_libraries
    • ssg_platform_tools
    • 6
    • 8
    • False
    • Hide

      None

      Show
      None
    • Release Note Not Required

      Description of problem:

      $ GLIBC_TUNABLES=help valgrind -q --error-exitcode=99 env > /dev/null; echo $?
      ==2335629== Conditional jump or move depends on uninitialised value(s)
      ==2335629== at 0x4C3E068: strlen (vg_replace_strmem.c:494)
      ==2335629== by 0x4EB084C: vfprintf (in /usr/lib64/libc-2.28.so)
      ==2335629== by 0x4F841BF: __printf_chk (in /usr/lib64/libc-2.28.so)
      ==2335629== by 0x10A8CF: UnknownInlinedFun (stdio2.h:109)
      ==2335629== by 0x10A8CF: main (env.c:632)
      ==2335629==
      99

      Version-Release number of selected component (if applicable):

      glibc-2.28-225.el8.x86_64

      How reproducible:

      Always under valgrind

      Steps to Reproduce:

      See above.

      Actual results:

      Warning on accessing GLIBC_TUNABLES environment variable

      Expected results:

      No warning

      Additional info:

      Already fixed upstream as https://sourceware.org/bugzilla/show_bug.cgi?id=28256

            glibc-bugzilla Platform Tools - Libraries Bot
            rhn-engineering-mjw Mark Wielaard
            Martin Coufal Martin Coufal
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: