[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>
Sun, 9 Mar 2025 10:45:45 +0000 (10:45 +0000)
commit80a5c5a92df9a55607c3395f1c4dd0cf433767fd
treec51f594ca58b570c815a37aa1885fe62a1512932
parentd7a32806165b2a77ac3273139db361a066c9c03d
[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]