]> git.ipfire.org Git - thirdparty/curl.git/commit
url: make parse_login_details use memdup0
authorDaniel Stenberg <daniel@haxx.se>
Fri, 10 May 2024 13:32:57 +0000 (15:32 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 10 May 2024 20:53:12 +0000 (22:53 +0200)
commit0e37b42dc956bd8ab462aa0d9ccef977a2de81c6
treed7d53786d72c2a1ca1e0f6047bbb61dd01e29bf9
parentfa9a564942b67d1bced95c6efdaef3aff5233818
url: make parse_login_details use memdup0

Also make the user and password arguments mandatory, since all code
paths in libcurl used them anyway.

Adapted unit test case 1620 to the new rules.

Closes #13584
lib/url.c
tests/unit/unit1620.c