[PATCH] netrc: 'default' with no credentials is not a match
authorDaniel Stenberg <daniel@haxx.se>
Fri, 3 Jan 2025 15:22:27 +0000 (16:22 +0100)
committerSamuel Henrique <samueloph@debian.org>
Sat, 19 Jul 2025 19:04:59 +0000 (21:04 +0200)
commit562c18ebfc569cc4182c3427844948e3a1993d92
tree34f8a10507a378749508ca4fe9c8faae247c93c4
parentbb202352cb65102f934e724c1cff0e416a98dd3e
[PATCH] netrc: 'default' with no credentials is not a match

Test 486 verifies.

Reported-by: Yihang Zhou
Closes #15908

Backported by: Dr. Tobias Quathamer <toddy@debian.org>

Changes:
* Refresh patch context for lib/netrc.c
* Use tests/data/Makefile.inc to add new test instead of
  tests/data/Makefile.am, because that has only been
  introduced in later versions of curl.
* Replace "%LOGDIR" with "log" due to its absence in bookworm.

Gbp-Pq: Name CVE-2025-0167.patch
lib/netrc.c
tests/data/Makefile.inc
tests/data/test486 [new file with mode: 0644]