-
Bug
-
Resolution: Done-Errata
-
Normal
-
None
-
curl-7.61.1-30.el8_8.9
-
None
-
Critical
-
rhel-sst-cs-plumbers
-
ssg_core_services
-
None
-
Dev ack
-
False
-
-
No
-
None
-
Pass
-
Not Needed
-
RegressionOnly
-
If docs needed, set a value
-
-
Unspecified
-
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:
- blocks
-
RHEL-5676 curl: Incomplete patch for host name wildcard checking [9.5.z]
- In Progress
-
RHEL-5680 curl: Incomplete patch for host name wildcard checking [8.10.z]
- In Progress
- is blocked by
-
RHEL-5675 curl: Incomplete patch for host name wildcard checking [9.6]
- In Progress
- external trackers
- links to
-
RHSA-2024:126018 curl update