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

curl: Incomplete patch for host name wildcard checking [rhel-8.8.0.z]

    • curl-7.61.1-30.el8_8.9
    • Critical
    • sst_cs_plumbers
    • ssg_core_services
    • None
    • Dev ack
    • False
    • Hide

      None

      Show
      None
    • No
    • None
    • If docs needed, set a value
    • None

      +++ This bug was initially created as a clone of Bug #2237228 +++

      Description of problem:
      While testing a patch of BZ#2233497 using the upstream unit test 1397 I've discovered that the current patch may be incomplete – the unit1397 test fails without the patch attached.

      Version-Release number of selected component (if applicable):
      7.76.1-23.el9_2.2 (rhel-9.2)
      7.76.1-26 (rhel-9)
      7.76.1-23.el9_2.2 (rhel-8.8)

      How reproducible:
      Always

      Steps to Reproduce:
      1. Build curl with --enable-debug (triggers unit testing)
      2. Wait for unit test 1397 to run.
      3. Inspect build log.

      Actual results:

      test 1397...[Curl_cert_hostcheck unit tests]
      ../libtool --mode=execute /usr/bin/valgrind --tool=memcheck --quiet --leak-check=yes --suppressions=../../tests/valgrind.supp --num-callers=16 --log-file=log/valgrind1397 ./unit/unit1397 - >log/stdout1397 2>log/stderr1397
      CMD (1536): ../libtool --mode=execute /usr/bin/valgrind --tool=memcheck --quiet --leak-check=yes --suppressions=../../tests/valgrind.supp --num-callers=16 --log-file=log/valgrind1397 ./unit/unit1397 - >log/stdout1397 2>log/stderr1397
      unit1397 returned 6, when expecting 0
      exit FAILED
      == Contents of files in the log/ dir after test 1397
      === Start of file commands.log
      ../libtool --mode=execute /usr/bin/valgrind --tool=memcheck --quiet --leak-check=yes --suppressions=../../tests/valgrind.supp --num-callers=16 --log-file=log/valgrind1397 ./unit/unit1397 - >log/stdout1397 2>log/stderr1397
      === End of file commands.log
      === Start of file ftpserver.cmd
      Testnum 1397
      === End of file ftpserver.cmd
      === Start of file stderr1397
      URL: -
      HOST: h.e.llo.
      PTRN: *.e.llo
      did NOT MATCH
      HOST: *.e.llo.
      PTRN: *.e.llo
      did NOT MATCH
      HOST: ************.e.llo.
      PTRN: *.e.llo
      did NOT MATCH
      HOST: AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE.e.llo.
      PTRN: *.e.llo
      did NOT MATCH
      HOST: ��.e.llo.
      PTRN: *.e.llo
      did NOT MATCH
      HOST: h.e.llo
      PTRN: *.e.llo.
      did NOT MATCH
      === End of file stderr1397

      Expected results:
      Test passes.

      Additional info:

            rhn-support-sbroz Stepan Broz
            rhn-support-sbroz Stepan Broz
            Jacek Migacz Jacek Migacz
            Bryan Mason Bryan Mason
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: