]> git.ipfire.org Git - thirdparty/curl.git/commit
tool_getparam: handle non-existing (out of range) short-options
authorDaniel Stenberg <daniel@haxx.se>
Mon, 11 Mar 2024 21:39:22 +0000 (22:39 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 12 Mar 2024 06:58:42 +0000 (07:58 +0100)
commit3ccce37790428382d38c7c28e2aec05b20c31ba5
treed1e83ef256ac3ea102733670af66defb3625569e
parent4e4e8af1f6b45b365c2f9778371578c93cf3b244
tool_getparam: handle non-existing (out of range) short-options

... correctly, even when they follow an existing one without a space in
between.

Verify with test 467

Follow-up to 07dd60c05b
Reported-by: Geeknik Labs
Fixes #13101
Closes #13102
src/tool_getparam.c
tests/data/Makefile.inc
tests/data/test467 [new file with mode: 0644]